PreviewingGo to this paletteOpen in generator
Code
/* Deep Forest — colorset.net */
:root {
--color-1: #0B3B0B;
--color-2: #1A4A1A;
--color-3: #295929;
--color-4: #386838;
--color-5: #477747;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBD9CB;
--color-text: #0B3B0B;
--color-muted: #5B6F5A;
--color-primary: #477747;
--color-on-primary: #FFFFFF;
--color-accent: #1A4A1A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #0F1E0E;
--color-border: #223320;
--color-text: #93AE92;
--color-muted: #758A74;
--color-primary: #477747;
--color-on-primary: #FFFFFF;
--color-accent: #7FA97E;
--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 #477747 | adjusted for contrast · from #0B3B0B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #477747 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #477747 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.99:1 | AAA pass 4.5:1 | |
| Text on surface | 10.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 5.25:1 | AA pass 4.5:1 | |
| Label on accent | 10.30:1 | AAA pass 4.5:1 | |
| Primary on background | 4.93:1 | AA pass 3:1 | |
| Accent on background | 9.67:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.90:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.12:1 | AA pass 4.5:1 | |
| Label on primary | 5.25:1 | AA pass 4.5:1 | |
| Label on accent | 7.14:1 | AAA pass 4.5:1 | |
| Primary on background | 3.62:1 | AA Large pass 3:1 | |
| Accent on background | 7.14: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 | #0B3B0B (Text 1) | #1A4A1A (Text 2) | #295929 (Text 3) | #386838 (Text 4) | #477747 (Text 5) |
|---|---|---|---|---|---|
| #0B3B0B | Same color | 1.24— | 1.55— | 1.95— | 2.43— |
| #1A4A1A | 1.24— | Same color | 1.25— | 1.57— | 1.96— |
| #295929 | 1.55— | 1.25— | Same color | 1.25— | 1.56— |
| #386838 | 1.95— | 1.57— | 1.25— | Same color | 1.25— |
| #477747 | 2.43— | 1.96— | 1.56— | 1.25— | Same color |
Shades
Shades and tints (50–950)
