PreviewingGo to this paletteOpen in generator
Code
/* Spring Mint — colorset.net */
:root {
--color-1: #98FB98;
--color-2: #A3FCA3;
--color-3: #AEFCAE;
--color-4: #B9FDB9;
--color-5: #C4FDC4;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBDACB;
--color-text: #29582A;
--color-muted: #5B6F5A;
--color-primary: #389C3D;
--color-on-primary: #000000;
--color-accent: #4C804E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061306;
--color-surface: #0F1E0F;
--color-border: #213321;
--color-text: #D8F5D7;
--color-muted: #778C77;
--color-primary: #98FB98;
--color-on-primary: #061306;
--color-accent: #6FBF6F;
--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 #C4FDC4 | adjusted for contrast · from #98FB98 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #98FB98 | adjusted for contrast · from #C4FDC4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #98FB98 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #98FB98 | adjusted for contrast · from #98FB98 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 5.99:1 | AA pass 4.5:1 | |
| Label on accent | 4.66:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.38:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.28:1 | AAA pass 4.5:1 | |
| Text on surface | 14.81:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.26:1 | AA pass 4.5:1 | |
| Label on primary | 15.03:1 | AAA pass 4.5:1 | |
| Label on accent | 8.48:1 | AAA pass 4.5:1 | |
| Primary on background | 15.03:1 | AAA pass 3:1 | |
| Accent on background | 8.48: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) | #A3FCA3 (Text 2) | #AEFCAE (Text 3) | #B9FDB9 (Text 4) | #C4FDC4 (Text 5) |
|---|---|---|---|---|---|
| #98FB98 | Same color | 1.03— | 1.05— | 1.07— | 1.10— |
| #A3FCA3 | 1.03— | Same color | 1.02— | 1.05— | 1.07— |
| #AEFCAE | 1.05— | 1.02— | Same color | 1.03— | 1.05— |
| #B9FDB9 | 1.07— | 1.05— | 1.03— | Same color | 1.02— |
| #C4FDC4 | 1.10— | 1.07— | 1.05— | 1.02— | Same color |
Shades
Shades and tints (50–950)
