PreviewingGo to this paletteOpen in generator
Code
/* Forest Deep — colorset.net */
:root {
--color-1: #006400;
--color-2: #228B22;
--color-3: #32CD32;
--color-4: #00FF00;
--color-5: #90EE90;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBD9CB;
--color-text: #2C5829;
--color-muted: #5C6F5A;
--color-primary: #008900;
--color-on-primary: #FFFFFF;
--color-accent: #006400;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #101E0E;
--color-border: #223320;
--color-text: #C1DDBF;
--color-muted: #748873;
--color-primary: #00FF00;
--color-on-primary: #061305;
--color-accent: #1F761C;
--color-on-accent: #FFFFFF;
}
}
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 #90EE90 | adjusted for contrast · from #006400 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #006400 | adjusted for contrast · from #90EE90 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #228B22 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #006400 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 7.44:1 | AAA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 6.98:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.02:1 | AAA pass 4.5:1 | |
| Text on surface | 11.83:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 13.87:1 | AAA pass 4.5:1 | |
| Label on accent | 5.73:1 | AA pass 4.5:1 | |
| Primary on background | 13.87:1 | AAA pass 3:1 | |
| Accent on background | 3.32:1 | AA Large 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 | #006400 (Text 1) | #228B22 (Text 2) | #32CD32 (Text 3) | #00FF00 (Text 4) | #90EE90 (Text 5) |
|---|---|---|---|---|---|
| #006400 | Same color | 1.69— | 3.51AA Large | 5.42AA | 5.25AA |
| #228B22 | 1.69— | Same color | 2.07— | 3.20AA Large | 3.10AA Large |
| #32CD32 | 3.51AA Large | 2.07— | Same color | 1.54— | 1.49— |
| #00FF00 | 5.42AA | 3.20AA Large | 1.54— | Same color | 1.03— |
| #90EE90 | 5.25AA | 3.10AA Large | 1.49— | 1.03— | Same color |
Shades
Shades and tints (50–950)
