PreviewingGo to this paletteOpen in generator
Code
/* Fern Thicket — colorset.net */
:root {
--color-1: #2D5016;
--color-2: #3F6B1B;
--color-3: #518220;
--color-4: #639925;
--color-5: #75B02A;
--color-bg: #F2FAEC;
--color-surface: #E9F0E3;
--color-border: #CFD9C8;
--color-text: #2E501A;
--color-muted: #617059;
--color-primary: #4F8300;
--color-on-primary: #FFFFFF;
--color-accent: #3F6B1B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #081304;
--color-surface: #121D0C;
--color-border: #25321E;
--color-text: #9AAC8B;
--color-muted: #7B886F;
--color-primary: #639925;
--color-on-primary: #081304;
--color-accent: #4B6F36;
--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 #75B02A | adjusted for contrast · from #2D5016 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #2D5016 | adjusted for contrast · from #75B02A |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #518220 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #3F6B1B |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.92:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 6.31:1 | AA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 5.90:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.82:1 | AAA pass 4.5:1 | |
| Text on surface | 7.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.53:1 | AA pass 4.5:1 | |
| Label on accent | 5.79:1 | AA pass 4.5:1 | |
| Primary on background | 5.53:1 | AA pass 3:1 | |
| Accent on background | 3.28: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 | #2D5016 (Text 1) | #3F6B1B (Text 2) | #518220 (Text 3) | #639925 (Text 4) | #75B02A (Text 5) |
|---|---|---|---|---|---|
| #2D5016 | Same color | 1.47— | 2.01— | 2.69— | 3.52AA Large |
| #3F6B1B | 1.47— | Same color | 1.37— | 1.84— | 2.40— |
| #518220 | 2.01— | 1.37— | Same color | 1.34— | 1.75— |
| #639925 | 2.69— | 1.84— | 1.34— | Same color | 1.31— |
| #75B02A | 3.52AA Large | 2.40— | 1.75— | 1.31— | Same color |
Shades
Shades and tints (50–950)
