PreviewingGo to this paletteOpen in generator
Code
/* Garden Lawn — colorset.net */
:root {
--color-1: #228B22;
--color-2: #379B37;
--color-3: #4CAB4C;
--color-4: #61BB61;
--color-5: #76CB76;
--color-bg: #EFFBEE;
--color-surface: #E6F1E5;
--color-border: #CBD9CB;
--color-text: #2C592A;
--color-muted: #5C705B;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #419B42;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #0F1E0E;
--color-border: #223320;
--color-text: #A1BCA0;
--color-muted: #748973;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #76CB76;
--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 #76CB76 | adjusted for contrast · from #228B22 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #228B22 | adjusted for contrast · from #76CB76 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #228B22 | adjusted for contrast · from #228B22 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #379B37 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.99:1 | AA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.26:1 | AAA pass 4.5:1 | |
| Text on surface | 8.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 9.59:1 | AAA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 9.59: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 | #228B22 (Text 1) | #379B37 (Text 2) | #4CAB4C (Text 3) | #61BB61 (Text 4) | #76CB76 (Text 5) |
|---|---|---|---|---|---|
| #228B22 | Same color | 1.23— | 1.51— | 1.84— | 2.21— |
| #379B37 | 1.23— | Same color | 1.23— | 1.49— | 1.79— |
| #4CAB4C | 1.51— | 1.23— | Same color | 1.21— | 1.46— |
| #61BB61 | 1.84— | 1.49— | 1.21— | Same color | 1.20— |
| #76CB76 | 2.21— | 1.79— | 1.46— | 1.20— | Same color |
Shades
Shades and tints (50–950)
