PreviewingGo to this paletteOpen in generator
Code
/* Light Forest — colorset.net */
:root {
--color-1: #F1F8E9;
--color-2: #DCEDC8;
--color-3: #C5E1A5;
--color-4: #AED581;
--color-5: #9CCC65;
--color-bg: #F1F8E9;
--color-surface: #FAFEF5;
--color-border: #D7E0CE;
--color-text: #3F591F;
--color-muted: #66725A;
--color-primary: #6C9930;
--color-on-primary: #000000;
--color-accent: #888F81;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1203;
--color-surface: #141D0B;
--color-border: #27321C;
--color-text: #F1F8E9;
--color-muted: #878D7F;
--color-primary: #9CCC65;
--color-on-primary: #0A1203;
--color-accent: #DCEDC8;
--color-on-accent: #0A1203;
}
}
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 | from palette · color 1 | adjusted for contrast · from #9CCC65 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9CCC65 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9CCC65 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9CCC65 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.27:1 | AAA pass 4.5:1 | |
| Text on surface | 7.73:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.70:1 | AA pass 4.5:1 | |
| Label on primary | 6.24:1 | AA pass 4.5:1 | |
| Label on accent | 6.29:1 | AA pass 4.5:1 | |
| Primary on background | 3.10:1 | AA Large pass 3:1 | |
| Accent on background | 3.07:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.57:1 | AAA pass 4.5:1 | |
| Text on surface | 15.98:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.58:1 | AA pass 4.5:1 | |
| Label on primary | 10.21:1 | AAA pass 4.5:1 | |
| Label on accent | 15.44:1 | AAA pass 4.5:1 | |
| Primary on background | 10.21:1 | AAA pass 3:1 | |
| Accent on background | 15.44: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 | #F1F8E9 (Text 1) | #DCEDC8 (Text 2) | #C5E1A5 (Text 3) | #AED581 (Text 4) | #9CCC65 (Text 5) |
|---|---|---|---|---|---|
| #F1F8E9 | Same color | 1.14— | 1.32— | 1.53— | 1.72— |
| #DCEDC8 | 1.14— | Same color | 1.16— | 1.34— | 1.51— |
| #C5E1A5 | 1.32— | 1.16— | Same color | 1.16— | 1.31— |
| #AED581 | 1.53— | 1.34— | 1.16— | Same color | 1.12— |
| #9CCC65 | 1.72— | 1.51— | 1.31— | 1.12— | Same color |
Shades
Shades and tints (50–950)
