PreviewingGo to this paletteOpen in generator
Code
/* Mint Frosting — colorset.net */
:root {
--color-1: #E8F5E8;
--color-2: #EEFAEE;
--color-3: #F4FEF4;
--color-4: #FAFFFE;
--color-5: #F1F9F1;
--color-bg: #FAFFFE;
--color-surface: #F1F6F5;
--color-border: #D5DEDC;
--color-text: #4A554A;
--color-muted: #677368;
--color-primary: #838F83;
--color-on-primary: #000000;
--color-accent: #535D53;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D100D;
--color-surface: #171B17;
--color-border: #2A302A;
--color-text: #FAFFFE;
--color-muted: #8B908F;
--color-primary: #E8F5E8;
--color-on-primary: #0D100D;
--color-accent: #B2BDB2;
--color-on-accent: #0D100D;
}
}
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 4 | adjusted for contrast · from #E8F5E8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E8F5E8 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E8F5E8 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E8F5E8 | adjusted for contrast · from #E8F5E8 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 6.22:1 | AA pass 4.5:1 | |
| Label on accent | 6.87:1 | AA pass 4.5:1 | |
| Primary on background | 3.34:1 | AA Large pass 3:1 | |
| Accent on background | 6.80:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.96:1 | AAA pass 4.5:1 | |
| Text on surface | 17.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.91:1 | AA pass 4.5:1 | |
| Label on primary | 17.01:1 | AAA pass 4.5:1 | |
| Label on accent | 9.86:1 | AAA pass 4.5:1 | |
| Primary on background | 17.01:1 | AAA pass 3:1 | |
| Accent on background | 9.86: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 | #E8F5E8 (Text 1) | #EEFAEE (Text 2) | #F4FEF4 (Text 3) | #FAFFFE (Text 4) | #F1F9F1 (Text 5) |
|---|---|---|---|---|---|
| #E8F5E8 | Same color | 1.05— | 1.09— | 1.11— | 1.05— |
| #EEFAEE | 1.05— | Same color | 1.04— | 1.06— | 1.00— |
| #F4FEF4 | 1.09— | 1.04— | Same color | 1.02— | 1.04— |
| #FAFFFE | 1.11— | 1.06— | 1.02— | Same color | 1.06— |
| #F1F9F1 | 1.05— | 1.00— | 1.04— | 1.06— | Same color |
Shades
Shades and tints (50–950)
