PreviewingGo to this paletteOpen in generator
Code
/* Hunter Moss — colorset.net */
:root {
--color-1: #0B2F0B;
--color-2: #163A16;
--color-3: #214521;
--color-4: #2C502C;
--color-5: #375B37;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBD9CB;
--color-text: #0B2F0B;
--color-muted: #5D715C;
--color-primary: #375B37;
--color-on-primary: #FFFFFF;
--color-accent: #214521;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071307;
--color-surface: #111D10;
--color-border: #233223;
--color-text: #93AE92;
--color-muted: #758A75;
--color-primary: #4A6F4A;
--color-on-primary: #FFFFFF;
--color-accent: #80A07F;
--color-on-accent: #071307;
}
}
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 #375B37 | adjusted for contrast · from #0B2F0B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #375B37 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #375B37 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #375B37 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.83:1 | AAA pass 4.5:1 | |
| Text on surface | 12.68:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 7.74:1 | AAA pass 4.5:1 | |
| Label on accent | 10.84:1 | AAA pass 4.5:1 | |
| Primary on background | 7.26:1 | AAA pass 3:1 | |
| Accent on background | 10.17:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.88:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 5.73:1 | AA pass 4.5:1 | |
| Label on accent | 6.56:1 | AA pass 4.5:1 | |
| Primary on background | 3.31:1 | AA Large pass 3:1 | |
| Accent on background | 6.56: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 | #0B2F0B (Text 1) | #163A16 (Text 2) | #214521 (Text 3) | #2C502C (Text 4) | #375B37 (Text 5) |
|---|---|---|---|---|---|
| #0B2F0B | Same color | 1.16— | 1.36— | 1.61— | 1.90— |
| #163A16 | 1.16— | Same color | 1.17— | 1.39— | 1.64— |
| #214521 | 1.36— | 1.17— | Same color | 1.18— | 1.40— |
| #2C502C | 1.61— | 1.39— | 1.18— | Same color | 1.18— |
| #375B37 | 1.90— | 1.64— | 1.40— | 1.18— | Same color |
Shades
Shades and tints (50–950)
