PreviewingGo to this paletteOpen in generator
Code
/* Mint Leaf — colorset.net */
:root {
--color-1: #D5F4E6;
--color-2: #A9DFBF;
--color-3: #82E0AA;
--color-4: #58D68D;
--color-5: #2ECC71;
--color-bg: #D5F4E6;
--color-surface: #E5F8EF;
--color-border: #BBDCCD;
--color-text: #195730;
--color-muted: #58705E;
--color-primary: #008744;
--color-on-primary: #FFFFFF;
--color-accent: #728E81;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #031408;
--color-surface: #0C1E11;
--color-border: #1E3424;
--color-text: #D5F4E6;
--color-muted: #708D80;
--color-primary: #2ECC71;
--color-on-primary: #031408;
--color-accent: #A9DFBF;
--color-on-accent: #031408;
}
}
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 1 | adjusted for contrast · from #2ECC71 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #2ECC71 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #2ECC71 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2ECC71 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.32:1 | AAA pass 4.5:1 | |
| Text on surface | 7.77:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.60:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.90:1 | AA pass 4.5:1 | |
| Primary on background | 3.94:1 | AA Large pass 3:1 | |
| Accent on background | 3.04:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.17:1 | AAA pass 4.5:1 | |
| Text on surface | 14.81:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.25:1 | AA pass 4.5:1 | |
| Label on primary | 9.02:1 | AAA pass 4.5:1 | |
| Label on accent | 12.64:1 | AAA pass 4.5:1 | |
| Primary on background | 9.02:1 | AAA pass 3:1 | |
| Accent on background | 12.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 | #D5F4E6 (Text 1) | #A9DFBF (Text 2) | #82E0AA (Text 3) | #58D68D (Text 4) | #2ECC71 (Text 5) |
|---|---|---|---|---|---|
| #D5F4E6 | Same color | 1.28— | 1.36— | 1.57— | 1.79— |
| #A9DFBF | 1.28— | Same color | 1.06— | 1.23— | 1.40— |
| #82E0AA | 1.36— | 1.06— | Same color | 1.16— | 1.32— |
| #58D68D | 1.57— | 1.23— | 1.16— | Same color | 1.14— |
| #2ECC71 | 1.79— | 1.40— | 1.32— | 1.14— | Same color |
Shades
Shades and tints (50–950)
