PreviewingGo to this paletteOpen in generator
Code
/* Chartreuse Zest — colorset.net */
:root {
--color-1: #7FFF00;
--color-2: #9ACD32;
--color-3: #ADFF2F;
--color-4: #BFFF00;
--color-5: #DFFF00;
--color-bg: #F5F9EA;
--color-surface: #ECF0E1;
--color-border: #D3D7C5;
--color-text: #3F5417;
--color-muted: #667057;
--color-primary: #3F8500;
--color-on-primary: #FFFFFF;
--color-accent: #7F9200;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1202;
--color-surface: #151C0A;
--color-border: #28321B;
--color-text: #E9F2CC;
--color-muted: #83896E;
--color-primary: #7FFF00;
--color-on-primary: #0B1202;
--color-accent: #9ACD32;
--color-on-accent: #0B1202;
}
}
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 #DFFF00 | adjusted for contrast · from #9ACD32 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9ACD32 | adjusted for contrast · from #DFFF00 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9ACD32 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9ACD32 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.87:1 | AAA pass 4.5:1 | |
| Text on surface | 7.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.88:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.37:1 | AAA pass 4.5:1 | |
| Text on surface | 15.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.24:1 | AA pass 4.5:1 | |
| Label on primary | 14.71:1 | AAA pass 4.5:1 | |
| Label on accent | 10.12:1 | AAA pass 4.5:1 | |
| Primary on background | 14.71:1 | AAA pass 3:1 | |
| Accent on background | 10.12: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 | #7FFF00 (Text 1) | #9ACD32 (Text 2) | #ADFF2F (Text 3) | #BFFF00 (Text 4) | #DFFF00 (Text 5) |
|---|---|---|---|---|---|
| #7FFF00 | Same color | 1.45— | 1.06— | 1.08— | 1.14— |
| #9ACD32 | 1.45— | Same color | 1.54— | 1.57— | 1.65— |
| #ADFF2F | 1.06— | 1.54— | Same color | 1.02— | 1.08— |
| #BFFF00 | 1.08— | 1.57— | 1.02— | Same color | 1.05— |
| #DFFF00 | 1.14— | 1.65— | 1.08— | 1.05— | Same color |
Shades
Shades and tints (50–950)
