PreviewingGo to this paletteOpen in generator
Code
/* Green Dark — colorset.net */
:root {
--color-1: #022C22;
--color-2: #064E3B;
--color-3: #065F46;
--color-4: #047857;
--color-5: #059669;
--color-bg: #EBFBF3;
--color-surface: #E2F2EA;
--color-border: #C7DAD0;
--color-text: #022C22;
--color-muted: #527167;
--color-primary: #00855C;
--color-on-primary: #FFFFFF;
--color-accent: #064E3B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #06120E;
--color-surface: #101C18;
--color-border: #21322C;
--color-text: #87AE9B;
--color-muted: #6D8A7B;
--color-primary: #00855C;
--color-on-primary: #FFFFFF;
--color-accent: #466D61;
--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 #059669 | adjusted for contrast · from #022C22 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #059669 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #047857 | adjusted for contrast · from #047857 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #047857 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.16:1 | AAA pass 4.5:1 | |
| Text on surface | 13.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 9.72:1 | AAA pass 4.5:1 | |
| Primary on background | 4.35:1 | AA Large pass 3:1 | |
| Accent on background | 9.08:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 5.80:1 | AA pass 4.5:1 | |
| Primary on background | 4.10:1 | AA Large 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 | #022C22 (Text 1) | #064E3B (Text 2) | #065F46 (Text 3) | #047857 (Text 4) | #059669 (Text 5) |
|---|---|---|---|---|---|
| #022C22 | Same color | 1.56— | 1.97— | 2.76— | 4.02AA Large |
| #064E3B | 1.56— | Same color | 1.26— | 1.77— | 2.58— |
| #065F46 | 1.97— | 1.26— | Same color | 1.40— | 2.04— |
| #047857 | 2.76— | 1.77— | 1.40— | Same color | 1.46— |
| #059669 | 4.02AA Large | 2.58— | 2.04— | 1.46— | Same color |
Shades
Shades and tints (50–950)
