PreviewingGo to this paletteOpen in generator
Code
/* Kelly Lawn — colorset.net */
:root {
--color-1: #4CBB17;
--color-2: #5CC52B;
--color-3: #6CCF3F;
--color-4: #7CD953;
--color-5: #8CE367;
--color-bg: #F1FAED;
--color-surface: #E7F1E4;
--color-border: #CDD9C9;
--color-text: #325826;
--color-muted: #5E7059;
--color-primary: #318700;
--color-on-primary: #FFFFFF;
--color-accent: #479B12;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071305;
--color-surface: #111D0D;
--color-border: #23331F;
--color-text: #BAD1B1;
--color-muted: #778870;
--color-primary: #4CBB17;
--color-on-primary: #071305;
--color-accent: #8CE367;
--color-on-accent: #071305;
}
}
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 #8CE367 | adjusted for contrast · from #4CBB17 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4CBB17 | adjusted for contrast · from #8CE367 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4CBB17 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4CBB17 | 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.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.97:1 | AA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.63:1 | AAA pass 4.5:1 | |
| Text on surface | 10.65:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 7.63:1 | AAA pass 4.5:1 | |
| Label on accent | 12.04:1 | AAA pass 4.5:1 | |
| Primary on background | 7.63:1 | AAA pass 3:1 | |
| Accent on background | 12.04: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 | #4CBB17 (Text 1) | #5CC52B (Text 2) | #6CCF3F (Text 3) | #7CD953 (Text 4) | #8CE367 (Text 5) |
|---|---|---|---|---|---|
| #4CBB17 | Same color | 1.12— | 1.26— | 1.41— | 1.58— |
| #5CC52B | 1.12— | Same color | 1.12— | 1.26— | 1.40— |
| #6CCF3F | 1.26— | 1.12— | Same color | 1.12— | 1.25— |
| #7CD953 | 1.41— | 1.26— | 1.12— | Same color | 1.12— |
| #8CE367 | 1.58— | 1.40— | 1.25— | 1.12— | Same color |
Shades
Shades and tints (50–950)
