PreviewingGo to this paletteOpen in generator
Code
/* Electric Spearmint — colorset.net */
:root {
--color-1: #00FF7F;
--color-2: #1AFF8F;
--color-3: #33FF9F;
--color-4: #4DFFAF;
--color-5: #66FFBF;
--color-bg: #ECFBF3;
--color-surface: #E2F2E9;
--color-border: #C7DAD0;
--color-text: #1E5931;
--color-muted: #58705D;
--color-primary: #008740;
--color-on-primary: #FFFFFF;
--color-accent: #004F23;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #041407;
--color-surface: #0C1E11;
--color-border: #1E3423;
--color-text: #C2E9D5;
--color-muted: #6C897A;
--color-primary: #00FF7F;
--color-on-primary: #041407;
--color-accent: #66FFBF;
--color-on-accent: #041407;
}
}
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 #66FFBF | adjusted for contrast · from #1AFF8F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #1AFF8F | adjusted for contrast · from #66FFBF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #00FF7F | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #1AFF8F | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 9.80:1 | AAA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 9.18:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.36:1 | AAA pass 4.5:1 | |
| Text on surface | 13.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 14.09:1 | AAA pass 4.5:1 | |
| Label on accent | 15.00:1 | AAA pass 4.5:1 | |
| Primary on background | 14.09:1 | AAA pass 3:1 | |
| Accent on background | 15.00: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 | #00FF7F (Text 1) | #1AFF8F (Text 2) | #33FF9F (Text 3) | #4DFFAF (Text 4) | #66FFBF (Text 5) |
|---|---|---|---|---|---|
| #00FF7F | Same color | 1.01— | 1.02— | 1.04— | 1.06— |
| #1AFF8F | 1.01— | Same color | 1.01— | 1.03— | 1.06— |
| #33FF9F | 1.02— | 1.01— | Same color | 1.02— | 1.04— |
| #4DFFAF | 1.04— | 1.03— | 1.02— | Same color | 1.02— |
| #66FFBF | 1.06— | 1.06— | 1.04— | 1.02— | Same color |
Shades
Shades and tints (50–950)
