PreviewingGo to this paletteOpen in generator
Code
/* Fern Frond — colorset.net */
:root {
--color-1: #4F7942;
--color-2: #5D8C51;
--color-3: #6B9F60;
--color-4: #7CB274;
--color-5: #8FBC8F;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBDACB;
--color-text: #305623;
--color-muted: #60715B;
--color-primary: #518046;
--color-on-primary: #FFFFFF;
--color-accent: #689368;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071305;
--color-surface: #111D0D;
--color-border: #24331F;
--color-text: #9BB79B;
--color-muted: #748974;
--color-primary: #518046;
--color-on-primary: #FFFFFF;
--color-accent: #7CB274;
--color-on-accent: #071305;
}
}
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 #8FBC8F | adjusted for contrast · from #4F7942 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4F7942 | adjusted for contrast · from #8FBC8F |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4F7942 | adjusted for contrast · from #4F7942 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5D8C51 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.95:1 | AAA pass 4.5:1 | |
| Text on surface | 7.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.96:1 | AA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 3.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.73:1 | AAA pass 4.5:1 | |
| Text on surface | 8.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 7.68:1 | AAA pass 4.5:1 | |
| Primary on background | 4.10:1 | AA Large pass 3:1 | |
| Accent on background | 7.68: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 | #4F7942 (Text 1) | #5D8C51 (Text 2) | #6B9F60 (Text 3) | #7CB274 (Text 4) | #8FBC8F (Text 5) |
|---|---|---|---|---|---|
| #4F7942 | Same color | 1.29— | 1.63— | 2.04— | 2.35— |
| #5D8C51 | 1.29— | Same color | 1.27— | 1.59— | 1.83— |
| #6B9F60 | 1.63— | 1.27— | Same color | 1.26— | 1.44— |
| #7CB274 | 2.04— | 1.59— | 1.26— | Same color | 1.15— |
| #8FBC8F | 2.35— | 1.83— | 1.44— | 1.15— | Same color |
Shades
Shades and tints (50–950)
