PreviewingGo to this paletteOpen in generator
Code
/* Dark Green — colorset.net */
:root {
--color-1: #006400;
--color-2: #1A7A1A;
--color-3: #339033;
--color-4: #4DA64D;
--color-5: #66BC66;
--color-bg: #EFFBEE;
--color-surface: #E6F1E5;
--color-border: #CCD9CB;
--color-text: #2C5829;
--color-muted: #5C6F5A;
--color-primary: #288729;
--color-on-primary: #FFFFFF;
--color-accent: #006400;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #101E0E;
--color-border: #223320;
--color-text: #92AD91;
--color-muted: #758A74;
--color-primary: #288729;
--color-on-primary: #FFFFFF;
--color-accent: #66BC66;
--color-on-accent: #061305;
}
}
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 #66BC66 | adjusted for contrast · from #006400 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #006400 | adjusted for contrast · from #66BC66 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #339033 | adjusted for contrast · from #339033 |
| On primary | derived | derived |
| Accent | from palette · color 1 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 7.44:1 | AAA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 6.98:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.12:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 8.11:1 | AAA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 8.11: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 | #006400 (Text 1) | #1A7A1A (Text 2) | #339033 (Text 3) | #4DA64D (Text 4) | #66BC66 (Text 5) |
|---|---|---|---|---|---|
| #006400 | Same color | 1.36— | 1.83— | 2.44— | 3.17AA Large |
| #1A7A1A | 1.36— | Same color | 1.35— | 1.79— | 2.33— |
| #339033 | 1.83— | 1.35— | Same color | 1.33— | 1.73— |
| #4DA64D | 2.44— | 1.79— | 1.33— | Same color | 1.30— |
| #66BC66 | 3.17AA Large | 2.33— | 1.73— | 1.30— | Same color |
Shades
Shades and tints (50–950)
