PreviewingGo to this paletteOpen in generator
Code
/* Peppermint Candy — colorset.net */
:root {
--color-1: #00FF99;
--color-2: #33FFAA;
--color-3: #66FFBB;
--color-4: #99FFCC;
--color-5: #CCFFDD;
--color-bg: #EDFBF1;
--color-surface: #E3F2E8;
--color-border: #C9DACE;
--color-text: #165B37;
--color-muted: #577160;
--color-primary: #00874F;
--color-on-primary: #FFFFFF;
--color-accent: #629273;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #021409;
--color-surface: #0A1E12;
--color-border: #1C3425;
--color-text: #D7FBE2;
--color-muted: #758F7E;
--color-primary: #00FF99;
--color-on-primary: #021409;
--color-accent: #99FFCC;
--color-on-accent: #021409;
}
}
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 #CCFFDD | adjusted for contrast · from #00FF99 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #00FF99 | adjusted for contrast · from #CCFFDD |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #00FF99 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #33FFAA | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.61:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 5.88:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.35:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.98:1 | AAA pass 4.5:1 | |
| Text on surface | 15.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.41:1 | AA pass 4.5:1 | |
| Label on primary | 14.25:1 | AAA pass 4.5:1 | |
| Label on accent | 15.84:1 | AAA pass 4.5:1 | |
| Primary on background | 14.25:1 | AAA pass 3:1 | |
| Accent on background | 15.84: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 | #00FF99 (Text 1) | #33FFAA (Text 2) | #66FFBB (Text 3) | #99FFCC (Text 4) | #CCFFDD (Text 5) |
|---|---|---|---|---|---|
| #00FF99 | Same color | 1.02— | 1.05— | 1.11— | 1.20— |
| #33FFAA | 1.02— | Same color | 1.04— | 1.09— | 1.18— |
| #66FFBB | 1.05— | 1.04— | Same color | 1.06— | 1.14— |
| #99FFCC | 1.11— | 1.09— | 1.06— | Same color | 1.08— |
| #CCFFDD | 1.20— | 1.18— | 1.14— | 1.08— | Same color |
Shades
Shades and tints (50–950)
