PreviewingGo to this paletteOpen in generator
Code
/* Fern Hollow — colorset.net */
:root {
--color-1: #2F5233;
--color-2: #3F6B3F;
--color-3: #4F844B;
--color-4: #5F9D57;
--color-5: #6FB663;
--color-bg: #F0FAEE;
--color-surface: #E7F1E5;
--color-border: #CCD9CA;
--color-text: #2F5233;
--color-muted: #5B705C;
--color-primary: #478440;
--color-on-primary: #FFFFFF;
--color-accent: #3F6B3F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #081209;
--color-surface: #111D12;
--color-border: #233225;
--color-text: #94AD8F;
--color-muted: #768973;
--color-primary: #5F9D57;
--color-on-primary: #081209;
--color-accent: #4A6E4E;
--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 #6FB663 | adjusted for contrast · from #2F5233 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #6FB663 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4F844B | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #3F6B3F |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.26:1 | AAA pass 4.5:1 | |
| Text on surface | 7.62:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 6.20:1 | AA pass 4.5:1 | |
| Primary on background | 4.22:1 | AA Large pass 3:1 | |
| Accent on background | 5.79:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.84:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 5.86:1 | AA pass 4.5:1 | |
| Label on accent | 5.78:1 | AA pass 4.5:1 | |
| Primary on background | 5.86:1 | AA pass 3:1 | |
| Accent on background | 3.30: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 | #2F5233 (Text 1) | #3F6B3F (Text 2) | #4F844B (Text 3) | #5F9D57 (Text 4) | #6FB663 (Text 5) |
|---|---|---|---|---|---|
| #2F5233 | Same color | 1.43— | 1.99— | 2.71— | 3.60AA Large |
| #3F6B3F | 1.43— | Same color | 1.40— | 1.90— | 2.52— |
| #4F844B | 1.99— | 1.40— | Same color | 1.36— | 1.81— |
| #5F9D57 | 2.71— | 1.90— | 1.36— | Same color | 1.33— |
| #6FB663 | 3.60AA Large | 2.52— | 1.81— | 1.33— | Same color |
Shades
Shades and tints (50–950)
