PreviewingGo to this paletteOpen in generator
Code
/* Mint Cool — colorset.net */
:root {
--color-1: #F0FFF0;
--color-2: #F5FFFA;
--color-3: #E0FFE0;
--color-4: #D0FFD0;
--color-5: #C0FFC0;
--color-bg: #F5FFFA;
--color-surface: #ECF6F1;
--color-border: #D0DED7;
--color-text: #2A5A2C;
--color-muted: #617561;
--color-primary: #5F9A61;
--color-on-primary: #000000;
--color-accent: #868F8A;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #051306;
--color-surface: #0F1E0F;
--color-border: #213321;
--color-text: #F5FFFA;
--color-muted: #87918C;
--color-primary: #C0FFC0;
--color-on-primary: #051306;
--color-accent: #91C491;
--color-on-accent: #051306;
}
}
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 2 | adjusted for contrast · from #C0FFC0 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #C0FFC0 | from palette · color 2 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C0FFC0 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C0FFC0 | adjusted for contrast · from #C0FFC0 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.92:1 | AAA pass 4.5:1 | |
| Text on surface | 7.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.87:1 | AA pass 4.5:1 | |
| Label on primary | 6.28:1 | AA pass 4.5:1 | |
| Label on accent | 6.31:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.66:1 | AAA pass 4.5:1 | |
| Text on surface | 16.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.86:1 | AA pass 4.5:1 | |
| Label on primary | 16.61:1 | AAA pass 4.5:1 | |
| Label on accent | 9.53:1 | AAA pass 4.5:1 | |
| Primary on background | 16.61:1 | AAA pass 3:1 | |
| Accent on background | 9.53: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 | #F0FFF0 (Text 1) | #F5FFFA (Text 2) | #E0FFE0 (Text 3) | #D0FFD0 (Text 4) | #C0FFC0 (Text 5) |
|---|---|---|---|---|---|
| #F0FFF0 | Same color | 1.01— | 1.04— | 1.07— | 1.11— |
| #F5FFFA | 1.01— | Same color | 1.05— | 1.09— | 1.12— |
| #E0FFE0 | 1.04— | 1.05— | Same color | 1.03— | 1.07— |
| #D0FFD0 | 1.07— | 1.09— | 1.03— | Same color | 1.03— |
| #C0FFC0 | 1.11— | 1.12— | 1.07— | 1.03— | Same color |
Shades
Shades and tints (50–950)
