PreviewingGo to this paletteOpen in generator
Code
/* Spruce Green — colorset.net */
:root {
--color-1: #0F5F4A;
--color-2: #19795E;
--color-3: #239372;
--color-4: #2DAD86;
--color-5: #47C79A;
--color-bg: #EBFBF4;
--color-surface: #E2F2EA;
--color-border: #C6DAD1;
--color-text: #045945;
--color-muted: #527165;
--color-primary: #008464;
--color-on-primary: #FFFFFF;
--color-accent: #004D39;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #01140D;
--color-surface: #081E17;
--color-border: #19342B;
--color-text: #90B8A6;
--color-muted: #6B8A7C;
--color-primary: #008464;
--color-on-primary: #FFFFFF;
--color-accent: #47C79A;
--color-on-accent: #01140D;
}
}
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 #47C79A | adjusted for contrast · from #0F5F4A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0F5F4A | adjusted for contrast · from #47C79A |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #19795E | adjusted for contrast · from #19795E |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #0F5F4A | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 9.90:1 | AAA pass 4.5:1 | |
| Primary on background | 4.38:1 | AA Large pass 3:1 | |
| Accent on background | 9.26:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.94:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 8.95:1 | AAA pass 4.5:1 | |
| Primary on background | 4.05:1 | AA Large pass 3:1 | |
| Accent on background | 8.95: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 | #0F5F4A (Text 1) | #19795E (Text 2) | #239372 (Text 3) | #2DAD86 (Text 4) | #47C79A (Text 5) |
|---|---|---|---|---|---|
| #0F5F4A | Same color | 1.43— | 1.99— | 2.70— | 3.59AA Large |
| #19795E | 1.43— | Same color | 1.39— | 1.89— | 2.52— |
| #239372 | 1.99— | 1.39— | Same color | 1.35— | 1.80— |
| #2DAD86 | 2.70— | 1.89— | 1.35— | Same color | 1.33— |
| #47C79A | 3.59AA Large | 2.52— | 1.80— | 1.33— | Same color |
Shades
Shades and tints (50–950)
