PreviewingGo to this paletteOpen in generator
Code
/* Spruce Teal — colorset.net */
:root {
--color-1: #0B5345;
--color-2: #0E6B5C;
--color-3: #148F77;
--color-4: #16A085;
--color-5: #1ABC9C;
--color-bg: #EAFCF6;
--color-surface: #E1F2EC;
--color-border: #C5DBD4;
--color-text: #0B5345;
--color-muted: #507168;
--color-primary: #00866E;
--color-on-primary: #FFFFFF;
--color-accent: #0E6B5C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #02130F;
--color-surface: #0A1E19;
--color-border: #1B332D;
--color-text: #85B0A3;
--color-muted: #6B8B81;
--color-primary: #00866E;
--color-on-primary: #FFFFFF;
--color-accent: #1ABC9C;
--color-on-accent: #02130F;
}
}
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 #1ABC9C | adjusted for contrast · from #0B5345 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #1ABC9C |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #148F77 | adjusted for contrast · from #148F77 |
| On primary | derived | derived |
| Accent | from palette · color 2 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.45:1 | AAA pass 4.5:1 | |
| Text on surface | 7.75:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 6.41:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 6.03:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.92:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 7.91:1 | AAA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 7.91: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 | #0B5345 (Text 1) | #0E6B5C (Text 2) | #148F77 (Text 3) | #16A085 (Text 4) | #1ABC9C (Text 5) |
|---|---|---|---|---|---|
| #0B5345 | Same color | 1.40— | 2.24— | 2.74— | 3.73AA Large |
| #0E6B5C | 1.40— | Same color | 1.59— | 1.95— | 2.66— |
| #148F77 | 2.24— | 1.59— | Same color | 1.23— | 1.67— |
| #16A085 | 2.74— | 1.95— | 1.23— | Same color | 1.36— |
| #1ABC9C | 3.73AA Large | 2.66— | 1.67— | 1.36— | Same color |
Shades
Shades and tints (50–950)
