PreviewingGo to this paletteOpen in generator
Code
/* Mint Yellow — colorset.net */
:root {
--color-1: #00FF7F;
--color-2: #32CD32;
--color-3: #7CFC00;
--color-4: #ADFF2F;
--color-5: #CCFF99;
--color-bg: #F2FAEC;
--color-surface: #E9F0E3;
--color-border: #CFD8C8;
--color-text: #2A5728;
--color-muted: #5B6F5A;
--color-primary: #008808;
--color-on-primary: #FFFFFF;
--color-accent: #005003;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #0F1E0E;
--color-border: #223320;
--color-text: #E1F3D0;
--color-muted: #7D8B72;
--color-primary: #32CD32;
--color-on-primary: #061305;
--color-accent: #ADFF2F;
--color-on-accent: #061305;
}
}
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 #CCFF99 | adjusted for contrast · from #32CD32 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #32CD32 | adjusted for contrast · from #CCFF99 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #32CD32 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #32CD32 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 9.77:1 | AAA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 9.15:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.26:1 | AAA pass 4.5:1 | |
| Text on surface | 14.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.27:1 | AA pass 4.5:1 | |
| Label on primary | 8.99:1 | AAA pass 4.5:1 | |
| Label on accent | 15.52:1 | AAA pass 4.5:1 | |
| Primary on background | 8.99:1 | AAA pass 3:1 | |
| Accent on background | 15.52: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) | #32CD32 (Text 2) | #7CFC00 (Text 3) | #ADFF2F (Text 4) | #CCFF99 (Text 5) |
|---|---|---|---|---|---|
| #00FF7F | Same color | 1.57— | 1.01— | 1.10— | 1.17— |
| #32CD32 | 1.57— | Same color | 1.59— | 1.73— | 1.85— |
| #7CFC00 | 1.01— | 1.59— | Same color | 1.08— | 1.16— |
| #ADFF2F | 1.10— | 1.73— | 1.08— | Same color | 1.07— |
| #CCFF99 | 1.17— | 1.85— | 1.16— | 1.07— | Same color |
Shades
Shades and tints (50–950)
