PreviewingGo to this paletteOpen in generator
Code
/* Mint Light — colorset.net */
:root {
--color-1: #98FB98;
--color-2: #A8FCA8;
--color-3: #B8FDB8;
--color-4: #C8FEC8;
--color-5: #88FA88;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBDACB;
--color-text: #295729;
--color-muted: #5B6F5A;
--color-primary: #229E2C;
--color-on-primary: #000000;
--color-accent: #508151;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061306;
--color-surface: #0F1E0F;
--color-border: #213321;
--color-text: #D9F7D9;
--color-muted: #788D78;
--color-primary: #88FA88;
--color-on-primary: #061306;
--color-accent: #B8FDB8;
--color-on-accent: #061306;
}
}
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 #C8FEC8 | adjusted for contrast · from #88FA88 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #88FA88 | adjusted for contrast · from #C8FEC8 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #88FA88 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #88FA88 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.92:1 | AAA pass 4.5:1 | |
| Text on surface | 7.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 6.00:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.54:1 | AAA pass 4.5:1 | |
| Text on surface | 15.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.33:1 | AA pass 4.5:1 | |
| Label on primary | 14.57:1 | AAA pass 4.5:1 | |
| Label on accent | 16.11:1 | AAA pass 4.5:1 | |
| Primary on background | 14.57:1 | AAA pass 3:1 | |
| Accent on background | 16.11: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 | #98FB98 (Text 1) | #A8FCA8 (Text 2) | #B8FDB8 (Text 3) | #C8FEC8 (Text 4) | #88FA88 (Text 5) |
|---|---|---|---|---|---|
| #98FB98 | Same color | 1.03— | 1.07— | 1.11— | 1.03— |
| #A8FCA8 | 1.03— | Same color | 1.04— | 1.08— | 1.07— |
| #B8FDB8 | 1.07— | 1.04— | Same color | 1.04— | 1.11— |
| #C8FEC8 | 1.11— | 1.08— | 1.04— | Same color | 1.15— |
| #88FA88 | 1.03— | 1.07— | 1.11— | 1.15— | Same color |
Shades
Shades and tints (50–950)
