PreviewingGo to this paletteOpen in generator
Code
/* Neon Spectrum — colorset.net */
:root {
--color-1: #00FF80;
--color-2: #80FF00;
--color-3: #FF8000;
--color-4: #FF0040;
--color-5: #4000FF;
--color-bg: #F1FAED;
--color-surface: #E8F1E4;
--color-border: #CED9C9;
--color-text: #424C82;
--color-muted: #656B84;
--color-primary: #4000FF;
--color-on-primary: #FFFFFF;
--color-accent: #408500;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B0E1F;
--color-surface: #14182A;
--color-border: #272C42;
--color-text: #CDE3C2;
--color-muted: #788871;
--color-primary: #4A47FF;
--color-on-primary: #FFFFFF;
--color-accent: #80FF00;
--color-on-accent: #0B0E1F;
}
}
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 #00FF80 | adjusted for contrast · from #4000FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4000FF | adjusted for contrast · from #00FF80 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #4000FF |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF8000 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.59:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 7.89:1 | AAA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 7.38:1 | AAA pass 3:1 | |
| Accent on background | 4.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.01:1 | AAA pass 4.5:1 | |
| Text on surface | 12.87:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 5.77:1 | AA pass 4.5:1 | |
| Label on accent | 14.79:1 | AAA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 14.79: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 | #00FF80 (Text 1) | #80FF00 (Text 2) | #FF8000 (Text 3) | #FF0040 (Text 4) | #4000FF (Text 5) |
|---|---|---|---|---|---|
| #00FF80 | Same color | 1.04— | 1.87— | 2.93— | 5.87AA |
| #80FF00 | 1.04— | Same color | 1.95— | 3.05AA Large | 6.09AA |
| #FF8000 | 1.87— | 1.95— | Same color | 1.57— | 3.13AA Large |
| #FF0040 | 2.93— | 3.05AA Large | 1.57— | Same color | 2.00— |
| #4000FF | 5.87AA | 6.09AA | 3.13AA Large | 2.00— | Same color |
Shades
Shades and tints (50–950)
