PreviewingGo to this paletteOpen in generator
Code
/* Chartreuse Yellow — colorset.net */
:root {
--color-1: #7FFF00;
--color-2: #9ACD32;
--color-3: #ADFF2F;
--color-4: #C0FF3E;
--color-5: #D4FF7F;
--color-bg: #F4F9EB;
--color-surface: #EAF0E2;
--color-border: #D1D8C6;
--color-text: #3F5417;
--color-muted: #636D55;
--color-primary: #3F8500;
--color-on-primary: #FFFFFF;
--color-accent: #224E00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1202;
--color-surface: #151C0A;
--color-border: #28321B;
--color-text: #E5F3CF;
--color-muted: #808A70;
--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 #D4FF7F | adjusted for contrast · from #9ACD32 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9ACD32 | adjusted for contrast · from #D4FF7F |
| 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.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 9.73:1 | AAA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 9.08:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.39:1 | AAA pass 4.5:1 | |
| Text on surface | 15.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.25: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) | #C0FF3E (Text 4) | #D4FF7F (Text 5) |
|---|---|---|---|---|---|
| #7FFF00 | Same color | 1.45— | 1.06— | 1.09— | 1.14— |
| #9ACD32 | 1.45— | Same color | 1.54— | 1.58— | 1.65— |
| #ADFF2F | 1.06— | 1.54— | Same color | 1.03— | 1.08— |
| #C0FF3E | 1.09— | 1.58— | 1.03— | Same color | 1.05— |
| #D4FF7F | 1.14— | 1.65— | 1.08— | 1.05— | Same color |
Shades
Shades and tints (50–950)
