PreviewingGo to this paletteOpen in generator
Code
/* Neon Grass — colorset.net */
:root {
--color-1: #00FF00;
--color-2: #33FF33;
--color-3: #66FF66;
--color-4: #99FF99;
--color-5: #CCFFCC;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBDACB;
--color-text: #2C5829;
--color-muted: #5C6F5A;
--color-primary: #008900;
--color-on-primary: #FFFFFF;
--color-accent: #659466;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #101E0E;
--color-border: #223320;
--color-text: #DBF9DB;
--color-muted: #798E79;
--color-primary: #00FF00;
--color-on-primary: #061305;
--color-accent: #99FF99;
--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 #CCFFCC | adjusted for contrast · from #33FF33 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #66FF66 | adjusted for contrast · from #CCFFCC |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #00FF00 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #99FF99 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.85:1 | AAA pass 4.5:1 | |
| Text on surface | 15.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.40:1 | AA pass 4.5:1 | |
| Label on primary | 13.87:1 | AAA pass 4.5:1 | |
| Label on accent | 15.52:1 | AAA pass 4.5:1 | |
| Primary on background | 13.87:1 | AAA pass 3:1 | |
| Accent on background | 15.52: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 | #00FF00 (Text 1) | #33FF33 (Text 2) | #66FF66 (Text 3) | #99FF99 (Text 4) | #CCFFCC (Text 5) |
|---|---|---|---|---|---|
| #00FF00 | Same color | 1.01— | 1.05— | 1.12— | 1.22— |
| #33FF33 | 1.01— | Same color | 1.04— | 1.10— | 1.21— |
| #66FF66 | 1.05— | 1.04— | Same color | 1.07— | 1.17— |
| #99FF99 | 1.12— | 1.10— | 1.07— | Same color | 1.09— |
| #CCFFCC | 1.22— | 1.21— | 1.17— | 1.09— | Same color |
Shades
Shades and tints (50–950)
