PreviewingGo to this paletteOpen in generator
Code
/* Hunter Green — colorset.net */
:root {
--color-1: #2C4A3E;
--color-2: #355E4A;
--color-3: #437358;
--color-4: #578968;
--color-5: #6FA27A;
--color-bg: #EEFBF0;
--color-surface: #E4F2E7;
--color-border: #CADACD;
--color-text: #2C4A3E;
--color-muted: #537164;
--color-primary: #578968;
--color-on-primary: #000000;
--color-accent: #355E4A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #08120E;
--color-surface: #121C18;
--color-border: #23312B;
--color-text: #8DAC93;
--color-muted: #718976;
--color-primary: #578968;
--color-on-primary: #08120E;
--color-accent: #4D6C5F;
--color-on-accent: #FFFFFF;
}
}
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 #6FA27A | adjusted for contrast · from #2C4A3E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #6FA27A |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #437358 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.13:1 | AAA pass 4.5:1 | |
| Text on surface | 8.42:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.18:1 | AA pass 4.5:1 | |
| Label on accent | 7.36:1 | AAA pass 4.5:1 | |
| Primary on background | 3.80:1 | AA Large pass 3:1 | |
| Accent on background | 6.91:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 5.79:1 | AA pass 4.5:1 | |
| Primary on background | 4.70:1 | AA pass 3:1 | |
| Accent on background | 3.29:1 | AA Large 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 | #2C4A3E (Text 1) | #355E4A (Text 2) | #437358 (Text 3) | #578968 (Text 4) | #6FA27A (Text 5) |
|---|---|---|---|---|---|
| #2C4A3E | Same color | 1.32— | 1.78— | 2.40— | 3.30AA Large |
| #355E4A | 1.32— | Same color | 1.34— | 1.82— | 2.50— |
| #437358 | 1.78— | 1.34— | Same color | 1.35— | 1.86— |
| #578968 | 2.40— | 1.82— | 1.35— | Same color | 1.37— |
| #6FA27A | 3.30AA Large | 2.50— | 1.86— | 1.37— | Same color |
Shades
Shades and tints (50–950)
