PreviewingGo to this paletteOpen in generator
Code
/* Green Shadow — colorset.net */
:root {
--color-1: #052E16;
--color-2: #14532D;
--color-3: #166534;
--color-4: #15803D;
--color-5: #16A34A;
--color-bg: #EEFBF0;
--color-surface: #E5F1E6;
--color-border: #CADACC;
--color-text: #052E16;
--color-muted: #59715F;
--color-primary: #00883A;
--color-on-primary: #FFFFFF;
--color-accent: #14532D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #07130A;
--color-surface: #101D14;
--color-border: #223227;
--color-text: #8FAD93;
--color-muted: #728976;
--color-primary: #16A34A;
--color-on-primary: #07130A;
--color-accent: #487054;
--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 #16A34A | adjusted for contrast · from #052E16 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #16A34A |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #15803D | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #166534 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.98:1 | AAA pass 4.5:1 | |
| Text on surface | 12.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 9.11:1 | AAA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 8.54:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.76:1 | AA pass 4.5:1 | |
| Label on accent | 5.64:1 | AA pass 4.5:1 | |
| Primary on background | 5.76:1 | AA pass 3:1 | |
| Accent on background | 3.36: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 | #052E16 (Text 1) | #14532D (Text 2) | #166534 (Text 3) | #15803D (Text 4) | #16A34A (Text 5) |
|---|---|---|---|---|---|
| #052E16 | Same color | 1.64— | 2.09— | 2.97— | 4.52AA |
| #14532D | 1.64— | Same color | 1.28— | 1.82— | 2.76— |
| #166534 | 2.09— | 1.28— | Same color | 1.42— | 2.16— |
| #15803D | 2.97— | 1.82— | 1.42— | Same color | 1.52— |
| #16A34A | 4.52AA | 2.76— | 2.16— | 1.52— | Same color |
Shades
Shades and tints (50–950)
