PreviewingGo to this paletteOpen in generator
Code
/* Forest Stream — colorset.net */
:root {
--color-1: #228B22;
--color-2: #32A032;
--color-3: #42B542;
--color-4: #52CA52;
--color-5: #62DF62;
--color-bg: #EFFBEE;
--color-surface: #E6F1E5;
--color-border: #CCD9CB;
--color-text: #2C592A;
--color-muted: #5C705B;
--color-primary: #2E9D2E;
--color-on-primary: #000000;
--color-accent: #008913;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #0F1E0E;
--color-border: #223320;
--color-text: #ADC8AB;
--color-muted: #758974;
--color-primary: #32A032;
--color-on-primary: #061305;
--color-accent: #62DF62;
--color-on-accent: #061305;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #62DF62 | adjusted for contrast · from #228B22 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #228B22 | adjusted for contrast · from #62DF62 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #32A032 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #228B22 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.98:1 | AA pass 4.5:1 | |
| Label on accent | 4.58:1 | AA pass 4.5:1 | |
| Primary on background | 3.30:1 | AA Large pass 3:1 | |
| Accent on background | 4.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.54:1 | AAA pass 4.5:1 | |
| Text on surface | 9.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.63:1 | AA pass 4.5:1 | |
| Label on accent | 11.11:1 | AAA pass 4.5:1 | |
| Primary on background | 5.63:1 | AA pass 3:1 | |
| Accent on background | 11.11:1 | AAA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #228B22 (Text 1) | #32A032 (Text 2) | #42B542 (Text 3) | #52CA52 (Text 4) | #62DF62 (Text 5) |
|---|---|---|---|---|---|
| #228B22 | Same color | 1.30— | 1.66— | 2.08— | 2.56— |
| #32A032 | 1.30— | Same color | 1.28— | 1.60— | 1.97— |
| #42B542 | 1.66— | 1.28— | Same color | 1.25— | 1.55— |
| #52CA52 | 2.08— | 1.60— | 1.25— | Same color | 1.23— |
| #62DF62 | 2.56— | 1.97— | 1.55— | 1.23— | Same color |
Shades
Shades and tints (50–950)
