PreviewingGo to this paletteOpen in generator
Code
/* Mint Electric — colorset.net */
:root {
--color-1: #00FF80;
--color-2: #40FF9A;
--color-3: #80FFB4;
--color-4: #C0FFCE;
--color-5: #E0FFE8;
--color-bg: #E0FFE8;
--color-surface: #F8FFFA;
--color-border: #CAE5D1;
--color-text: #245F37;
--color-muted: #5E7663;
--color-primary: #00A34F;
--color-on-primary: #000000;
--color-accent: #799580;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #041407;
--color-surface: #0C1E11;
--color-border: #1E3423;
--color-text: #E0FFE8;
--color-muted: #79927F;
--color-primary: #00FF80;
--color-on-primary: #041407;
--color-accent: #C0FFCE;
--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 | from palette · color 5 | adjusted for contrast · from #00FF80 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #00FF80 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #00FF80 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #80FFB4 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.10:1 | AAA pass 4.5:1 | |
| Text on surface | 7.47:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 6.35:1 | AA pass 4.5:1 | |
| Label on accent | 6.42:1 | AA pass 4.5:1 | |
| Primary on background | 3.09:1 | AA Large pass 3:1 | |
| Accent on background | 3.06:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.72:1 | AAA pass 4.5:1 | |
| Text on surface | 16.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.62:1 | AA pass 4.5:1 | |
| Label on primary | 14.09:1 | AAA pass 4.5:1 | |
| Label on accent | 16.64:1 | AAA pass 4.5:1 | |
| Primary on background | 14.09:1 | AAA pass 3:1 | |
| Accent on background | 16.64: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) | #40FF9A (Text 2) | #80FFB4 (Text 3) | #C0FFCE (Text 4) | #E0FFE8 (Text 5) |
|---|---|---|---|---|---|
| #00FF80 | Same color | 1.02— | 1.08— | 1.18— | 1.26— |
| #40FF9A | 1.02— | Same color | 1.06— | 1.15— | 1.23— |
| #80FFB4 | 1.08— | 1.06— | Same color | 1.09— | 1.16— |
| #C0FFCE | 1.18— | 1.15— | 1.09— | Same color | 1.07— |
| #E0FFE8 | 1.26— | 1.23— | 1.16— | 1.07— | Same color |
Shades
Shades and tints (50–950)
