PreviewingGo to this paletteOpen in generator
Code
/* Fresh Mint — colorset.net */
:root {
--color-1: #F5FFFA;
--color-2: #F0FFF0;
--color-3: #E0FFE0;
--color-4: #CCFFCC;
--color-5: #B3FFB3;
--color-bg: #F5FFFA;
--color-surface: #ECF6F1;
--color-border: #D0DED7;
--color-text: #2A5A2C;
--color-muted: #617561;
--color-primary: #529A54;
--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: #B3FFB3;
--color-on-primary: #051306;
--color-accent: #86C486;
--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 1 | adjusted for contrast · from #B3FFB3 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B3FFB3 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B3FFB3 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B3FFB3 | adjusted for contrast · from #B3FFB3 |
| 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.11:1 | AA pass 4.5:1 | |
| Label on accent | 6.31:1 | AA pass 4.5:1 | |
| Primary on background | 3.37: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.21:1 | AAA pass 4.5:1 | |
| Label on accent | 9.30:1 | AAA pass 4.5:1 | |
| Primary on background | 16.21:1 | AAA pass 3:1 | |
| Accent on background | 9.30: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 | #F5FFFA (Text 1) | #F0FFF0 (Text 2) | #E0FFE0 (Text 3) | #CCFFCC (Text 4) | #B3FFB3 (Text 5) |
|---|---|---|---|---|---|
| #F5FFFA | Same color | 1.01— | 1.05— | 1.10— | 1.15— |
| #F0FFF0 | 1.01— | Same color | 1.04— | 1.08— | 1.13— |
| #E0FFE0 | 1.05— | 1.04— | Same color | 1.04— | 1.09— |
| #CCFFCC | 1.10— | 1.08— | 1.04— | Same color | 1.05— |
| #B3FFB3 | 1.15— | 1.13— | 1.09— | 1.05— | Same color |
Shades
Shades and tints (50–950)
