PreviewingGo to this paletteOpen in generator
Code
/* Glowstick Party — colorset.net */
:root {
--color-1: #C0FF40;
--color-2: #40C0FF;
--color-3: #FF40C0;
--color-4: #40FFC0;
--color-5: #C040FF;
--color-bg: #F3FAEB;
--color-surface: #EAF0E2;
--color-border: #D0D8C7;
--color-text: #604073;
--color-muted: #73657D;
--color-primary: #B32EF1;
--color-on-primary: #FFFFFF;
--color-accent: #5D8100;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140B1A;
--color-surface: #1F1525;
--color-border: #34283D;
--color-text: #DDEDC9;
--color-muted: #7C876E;
--color-primary: #B32EF1;
--color-on-primary: #FFFFFF;
--color-accent: #C0FF40;
--color-on-accent: #140B1A;
}
}
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 #40FFC0 | adjusted for contrast · from #C040FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #C040FF | adjusted for contrast · from #40FFC0 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C040FF | adjusted for contrast · from #C040FF |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #40C0FF | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.94:1 | AAA pass 4.5:1 | |
| Text on surface | 7.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 4.56:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 4.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.59:1 | AAA pass 4.5:1 | |
| Text on surface | 14.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 16.13:1 | AAA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 16.13: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 | #C0FF40 (Text 1) | #40C0FF (Text 2) | #FF40C0 (Text 3) | #40FFC0 (Text 4) | #C040FF (Text 5) |
|---|---|---|---|---|---|
| #C0FF40 | Same color | 1.73— | 2.61— | 1.08— | 3.25AA Large |
| #40C0FF | 1.73— | Same color | 1.51— | 1.60— | 1.88— |
| #FF40C0 | 2.61— | 1.51— | Same color | 2.41— | 1.25— |
| #40FFC0 | 1.08— | 1.60— | 2.41— | Same color | 3.01AA Large |
| #C040FF | 3.25AA Large | 1.88— | 1.25— | 3.01AA Large | Same color |
Shades
Shades and tints (50–950)
