PreviewingGo to this paletteOpen in generator
Code
/* Fernwood — colorset.net */
:root {
--color-1: #4F7942;
--color-2: #658E54;
--color-3: #7FA367;
--color-4: #9ABA7C;
--color-5: #B6D293;
--color-bg: #F3FAEB;
--color-surface: #EAF0E2;
--color-border: #D0D8C7;
--color-text: #305623;
--color-muted: #60715B;
--color-primary: #577F46;
--color-on-primary: #FFFFFF;
--color-accent: #2D4D1F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071305;
--color-surface: #111D0D;
--color-border: #24331F;
--color-text: #BDCDAB;
--color-muted: #7D886F;
--color-primary: #577F46;
--color-on-primary: #FFFFFF;
--color-accent: #9ABA7C;
--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 #B6D293 | adjusted for contrast · from #4F7942 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4F7942 | adjusted for contrast · from #B6D293 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4F7942 | adjusted for contrast · from #4F7942 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4F7942 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.93:1 | AAA pass 4.5:1 | |
| Text on surface | 7.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 9.58:1 | AAA pass 4.5:1 | |
| Primary on background | 4.35:1 | AA Large pass 3:1 | |
| Accent on background | 8.98:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.30:1 | AAA pass 4.5:1 | |
| Text on surface | 10.36:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 8.77:1 | AAA pass 4.5:1 | |
| Primary on background | 4.10:1 | AA Large pass 3:1 | |
| Accent on background | 8.77: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) | #658E54 (Text 2) | #7FA367 (Text 3) | #9ABA7C (Text 4) | #B6D293 (Text 5) |
|---|---|---|---|---|---|
| #4F7942 | Same color | 1.34— | 1.77— | 2.34— | 3.05AA Large |
| #658E54 | 1.34— | Same color | 1.32— | 1.75— | 2.28— |
| #7FA367 | 1.77— | 1.32— | Same color | 1.32— | 1.72— |
| #9ABA7C | 2.34— | 1.75— | 1.32— | Same color | 1.30— |
| #B6D293 | 3.05AA Large | 2.28— | 1.72— | 1.30— | Same color |
Shades
Shades and tints (50–950)
