PreviewingGo to this paletteOpen in generator
Code
/* Forest Moss — colorset.net */
:root {
--color-1: #4A5D23;
--color-2: #5C7035;
--color-3: #6E8347;
--color-4: #809559;
--color-5: #3D4F1C;
--color-bg: #F4F9EB;
--color-surface: #EAF0E2;
--color-border: #D1D8C6;
--color-text: #3D4F1C;
--color-muted: #636E55;
--color-primary: #687D41;
--color-on-primary: #FFFFFF;
--color-accent: #3B4B1A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1204;
--color-surface: #161C0C;
--color-border: #29311D;
--color-text: #9DAA88;
--color-muted: #7D876D;
--color-primary: #687D41;
--color-on-primary: #FFFFFF;
--color-accent: #809559;
--color-on-accent: #0C1204;
}
}
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 #809559 | adjusted for contrast · from #3D4F1C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | adjusted for contrast · from #809559 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #6E8347 | adjusted for contrast · from #6E8347 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #3D4F1C | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.40:1 | AAA pass 4.5:1 | |
| Text on surface | 7.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 9.51:1 | AAA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 8.88:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.76:1 | AA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 5.76:1 | AA 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 | #4A5D23 (Text 1) | #5C7035 (Text 2) | #6E8347 (Text 3) | #809559 (Text 4) | #3D4F1C (Text 5) |
|---|---|---|---|---|---|
| #4A5D23 | Same color | 1.33— | 1.74— | 2.21— | 1.23— |
| #5C7035 | 1.33— | Same color | 1.31— | 1.66— | 1.64— |
| #6E8347 | 1.74— | 1.31— | Same color | 1.27— | 2.14— |
| #809559 | 2.21— | 1.66— | 1.27— | Same color | 2.73— |
| #3D4F1C | 1.23— | 1.64— | 2.14— | 2.73— | Same color |
Shades
Shades and tints (50–950)
