PreviewingGo to this paletteOpen in generator
Code
/* Fern Breath — colorset.net */
:root {
--color-1: #F2F9F0;
--color-2: #4A925C;
--color-3: #D8A173;
--color-4: #B7D4B7;
--color-5: #152F1F;
--color-bg: #F2F9F0;
--color-surface: #E9F0E7;
--color-border: #CFD8CC;
--color-text: #152F1F;
--color-muted: #57705F;
--color-primary: #3A834E;
--color-on-primary: #FFFFFF;
--color-accent: #9E6A3D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #09120C;
--color-surface: #131C16;
--color-border: #253129;
--color-text: #F2F9F0;
--color-muted: #878D85;
--color-primary: #3A834E;
--color-on-primary: #FFFFFF;
--color-accent: #D8A173;
--color-on-accent: #09120C;
}
}
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 | from palette · color 1 | adjusted for contrast · from #152F1F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4A925C | adjusted for contrast · from #4A925C |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4A925C | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.43:1 | AAA pass 4.5:1 | |
| Text on surface | 12.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 4.58:1 | AA pass 4.5:1 | |
| Primary on background | 4.32:1 | AA Large pass 3:1 | |
| Accent on background | 4.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.75:1 | AAA pass 4.5:1 | |
| Text on surface | 16.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.60:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 8.40:1 | AAA pass 4.5:1 | |
| Primary on background | 4.11:1 | AA Large pass 3:1 | |
| Accent on background | 8.40: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 | #F2F9F0 (Text 1) | #4A925C (Text 2) | #D8A173 (Text 3) | #B7D4B7 (Text 4) | #152F1F (Text 5) |
|---|---|---|---|---|---|
| #F2F9F0 | Same color | 3.52AA Large | 2.11— | 1.49— | 13.43AAA |
| #4A925C | 3.52AA Large | Same color | 1.67— | 2.36— | 3.81AA Large |
| #D8A173 | 2.11— | 1.67— | Same color | 1.42— | 6.35AA |
| #B7D4B7 | 1.49— | 2.36— | 1.42— | Same color | 8.99AAA |
| #152F1F | 13.43AAA | 3.81AA Large | 6.35AA | 8.99AAA | Same color |
Shades
Shades and tints (50–950)
