PreviewingGo to this paletteOpen in generator
Code
/* Forest Pine — colorset.net */
:root {
--color-1: #0D3B2E;
--color-2: #1C5C42;
--color-3: #2D7856;
--color-4: #3E956A;
--color-5: #52B788;
--color-bg: #ECFBF2;
--color-surface: #E3F2E9;
--color-border: #C7DACF;
--color-text: #0D3B2E;
--color-muted: #537266;
--color-primary: #298359;
--color-on-primary: #FFFFFF;
--color-accent: #1C5C42;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #05120E;
--color-surface: #0F1D18;
--color-border: #20322C;
--color-text: #89AE99;
--color-muted: #6E8A7A;
--color-primary: #298359;
--color-on-primary: #FFFFFF;
--color-accent: #447061;
--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 #52B788 | adjusted for contrast · from #0D3B2E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #52B788 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #2D7856 | adjusted for contrast · from #2D7856 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #2D7856 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.68:1 | AAA pass 4.5:1 | |
| Text on surface | 10.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 7.90:1 | AAA pass 4.5:1 | |
| Primary on background | 4.38:1 | AA Large pass 3:1 | |
| Accent on background | 7.39:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 5.62:1 | AA pass 4.5:1 | |
| Primary on background | 4.08:1 | AA Large pass 3:1 | |
| Accent on background | 3.40: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 | #0D3B2E (Text 1) | #1C5C42 (Text 2) | #2D7856 (Text 3) | #3E956A (Text 4) | #52B788 (Text 5) |
|---|---|---|---|---|---|
| #0D3B2E | Same color | 1.58— | 2.34— | 3.40AA Large | 5.05AA |
| #1C5C42 | 1.58— | Same color | 1.48— | 2.15— | 3.19AA Large |
| #2D7856 | 2.34— | 1.48— | Same color | 1.45— | 2.16— |
| #3E956A | 3.40AA Large | 2.15— | 1.45— | Same color | 1.49— |
| #52B788 | 5.05AA | 3.19AA Large | 2.16— | 1.49— | Same color |
Shades
Shades and tints (50–950)
