PreviewingGo to this paletteOpen in generator
Code
/* Spearmint Glow — colorset.net */
:root {
--color-1: #98FB98;
--color-2: #90EE90;
--color-3: #7CFC00;
--color-4: #00FF7F;
--color-5: #00FA9A;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBD9CB;
--color-text: #135A38;
--color-muted: #577160;
--color-primary: #3F8600;
--color-on-primary: #FFFFFF;
--color-accent: #008650;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #021409;
--color-surface: #0A1E13;
--color-border: #1C3426;
--color-text: #CCE8CB;
--color-muted: #748873;
--color-primary: #7CFC00;
--color-on-primary: #021409;
--color-accent: #00FA9A;
--color-on-accent: #021409;
}
}
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 #98FB98 | adjusted for contrast · from #90EE90 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #90EE90 | adjusted for contrast · from #90EE90 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #90EE90 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #90EE90 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 4.36:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.43:1 | AAA pass 4.5:1 | |
| Text on surface | 13.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 14.26:1 | AAA pass 4.5:1 | |
| Label on accent | 13.68:1 | AAA pass 4.5:1 | |
| Primary on background | 14.26:1 | AAA pass 3:1 | |
| Accent on background | 13.68: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) | #90EE90 (Text 2) | #7CFC00 (Text 3) | #00FF7F (Text 4) | #00FA9A (Text 5) |
|---|---|---|---|---|---|
| #98FB98 | Same color | 1.12— | 1.05— | 1.06— | 1.10— |
| #90EE90 | 1.12— | Same color | 1.06— | 1.05— | 1.02— |
| #7CFC00 | 1.05— | 1.06— | Same color | 1.01— | 1.04— |
| #00FF7F | 1.06— | 1.05— | 1.01— | Same color | 1.03— |
| #00FA9A | 1.10— | 1.02— | 1.04— | 1.03— | Same color |
Shades
Shades and tints (50–950)
