PreviewingGo to this paletteOpen in generator
Code
/* Deep Green — colorset.net */
:root {
--color-1: #224400;
--color-2: #335500;
--color-3: #446600;
--color-4: #557700;
--color-5: #668800;
--color-bg: #F3F9EB;
--color-surface: #EAF0E2;
--color-border: #D1D8C6;
--color-text: #25430A;
--color-muted: #606E57;
--color-primary: #5F7E00;
--color-on-primary: #FFFFFF;
--color-accent: #335500;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #091304;
--color-surface: #131D0C;
--color-border: #25321D;
--color-text: #9DAA88;
--color-muted: #7D876D;
--color-primary: #5F7E00;
--color-on-primary: #FFFFFF;
--color-accent: #4D7133;
--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 #668800 | adjusted for contrast · from #224400 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #224400 | adjusted for contrast · from #668800 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #557700 | adjusted for contrast · from #557700 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #557700 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.37:1 | AAA pass 4.5:1 | |
| Text on surface | 9.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 8.61:1 | AAA pass 4.5:1 | |
| Primary on background | 4.38:1 | AA Large pass 3:1 | |
| Accent on background | 8.02:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06: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.64:1 | AA pass 4.5:1 | |
| Primary on background | 4.04:1 | AA Large pass 3:1 | |
| Accent on background | 3.37: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 | #224400 (Text 1) | #335500 (Text 2) | #446600 (Text 3) | #557700 (Text 4) | #668800 (Text 5) |
|---|---|---|---|---|---|
| #224400 | Same color | 1.29— | 1.66— | 2.12— | 2.68— |
| #335500 | 1.29— | Same color | 1.29— | 1.65— | 2.08— |
| #446600 | 1.66— | 1.29— | Same color | 1.28— | 1.62— |
| #557700 | 2.12— | 1.65— | 1.28— | Same color | 1.26— |
| #668800 | 2.68— | 2.08— | 1.62— | 1.26— | Same color |
Shades
Shades and tints (50–950)
