PreviewingGo to this paletteOpen in generator
Code
/* Fern Soft — colorset.net */
:root {
--color-1: #8FBC8F;
--color-2: #A0CCA0;
--color-3: #B1DCB1;
--color-4: #C2ECC2;
--color-5: #D3FBD3;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBDACB;
--color-text: #2D562E;
--color-muted: #5A6F5A;
--color-primary: #689368;
--color-on-primary: #000000;
--color-accent: #3D5F3D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061307;
--color-surface: #101D10;
--color-border: #223322;
--color-text: #DAF8DA;
--color-muted: #788E78;
--color-primary: #8FBC8F;
--color-on-primary: #061307;
--color-accent: #C2ECC2;
--color-on-accent: #061307;
}
}
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 #D3FBD3 | adjusted for contrast · from #8FBC8F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8FBC8F | adjusted for contrast · from #D3FBD3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8FBC8F | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8FBC8F | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.94:1 | AAA pass 4.5:1 | |
| Text on surface | 7.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 5.96:1 | AA pass 4.5:1 | |
| Label on accent | 7.23:1 | AAA pass 4.5:1 | |
| Primary on background | 3.31:1 | AA Large pass 3:1 | |
| Accent on background | 6.79:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.69:1 | AAA pass 4.5:1 | |
| Text on surface | 15.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.38:1 | AA pass 4.5:1 | |
| Label on primary | 8.84:1 | AAA pass 4.5:1 | |
| Label on accent | 14.56:1 | AAA pass 4.5:1 | |
| Primary on background | 8.84:1 | AAA pass 3:1 | |
| Accent on background | 14.56: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 | #8FBC8F (Text 1) | #A0CCA0 (Text 2) | #B1DCB1 (Text 3) | #C2ECC2 (Text 4) | #D3FBD3 (Text 5) |
|---|---|---|---|---|---|
| #8FBC8F | Same color | 1.19— | 1.41— | 1.65— | 1.90— |
| #A0CCA0 | 1.19— | Same color | 1.18— | 1.38— | 1.59— |
| #B1DCB1 | 1.41— | 1.18— | Same color | 1.17— | 1.35— |
| #C2ECC2 | 1.65— | 1.38— | 1.17— | Same color | 1.15— |
| #D3FBD3 | 1.90— | 1.59— | 1.35— | 1.15— | Same color |
Shades
Shades and tints (50–950)
