PreviewingGo to this paletteOpen in generator
Code
/* Garden Hedge Green — colorset.net */
:root {
--color-1: #2E7D32;
--color-2: #388E3C;
--color-3: #43A047;
--color-4: #4CAF50;
--color-5: #66BB6A;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBDACB;
--color-text: #29582A;
--color-muted: #5B6F5A;
--color-primary: #2E8533;
--color-on-primary: #FFFFFF;
--color-accent: #379C3D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061306;
--color-surface: #0F1E0F;
--color-border: #213321;
--color-text: #91AD91;
--color-muted: #748974;
--color-primary: #2E8533;
--color-on-primary: #FFFFFF;
--color-accent: #66BB6A;
--color-on-accent: #061306;
}
}
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 #66BB6A | adjusted for contrast · from #2E7D32 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #2E7D32 | adjusted for contrast · from #66BB6A |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #2E7D32 | adjusted for contrast · from #2E7D32 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #43A047 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 5.99:1 | AA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 8.05:1 | AAA pass 4.5:1 | |
| Primary on background | 4.10:1 | AA Large pass 3:1 | |
| Accent on background | 8.05: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 | #2E7D32 (Text 1) | #388E3C (Text 2) | #43A047 (Text 3) | #4CAF50 (Text 4) | #66BB6A (Text 5) |
|---|---|---|---|---|---|
| #2E7D32 | Same color | 1.25— | 1.55— | 1.84— | 2.17— |
| #388E3C | 1.25— | Same color | 1.25— | 1.48— | 1.74— |
| #43A047 | 1.55— | 1.25— | Same color | 1.19— | 1.40— |
| #4CAF50 | 1.84— | 1.48— | 1.19— | Same color | 1.18— |
| #66BB6A | 2.17— | 1.74— | 1.40— | 1.18— | Same color |
Shades
Shades and tints (50–950)
