PreviewingGo to this paletteOpen in generator
Code
/* Spruce Needle Green — colorset.net */
:root {
--color-1: #0A5F38;
--color-2: #0F7346;
--color-3: #0F9D58;
--color-4: #52B788;
--color-5: #95D5B2;
--color-bg: #ECFBF2;
--color-surface: #E3F2E9;
--color-border: #C8DACF;
--color-text: #155B38;
--color-muted: #577160;
--color-primary: #0F9D58;
--color-on-primary: #000000;
--color-accent: #579675;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #021409;
--color-surface: #0A1E13;
--color-border: #1C3425;
--color-text: #A9CFB9;
--color-muted: #6E8A7A;
--color-primary: #0F9D58;
--color-on-primary: #021409;
--color-accent: #27734B;
--color-on-accent: #FFFFFF;
}
}
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 #95D5B2 | adjusted for contrast · from #0A5F38 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0A5F38 | adjusted for contrast · from #95D5B2 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #0F9D58 | adjusted for contrast · from #0F7346 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.60:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 5.98:1 | AA pass 4.5:1 | |
| Label on accent | 6.02:1 | AA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.13:1 | AAA pass 4.5:1 | |
| Text on surface | 10.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 5.41:1 | AA pass 4.5:1 | |
| Label on accent | 5.77:1 | AA pass 4.5:1 | |
| Primary on background | 5.41:1 | AA pass 3:1 | |
| Accent on background | 3.29:1 | AA Large 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 | #0A5F38 (Text 1) | #0F7346 (Text 2) | #0F9D58 (Text 3) | #52B788 (Text 4) | #95D5B2 (Text 5) |
|---|---|---|---|---|---|
| #0A5F38 | Same color | 1.32— | 2.21— | 3.14AA Large | 4.60AA |
| #0F7346 | 1.32— | Same color | 1.68— | 2.38— | 3.49AA Large |
| #0F9D58 | 2.21— | 1.68— | Same color | 1.42— | 2.08— |
| #52B788 | 3.14AA Large | 2.38— | 1.42— | Same color | 1.47— |
| #95D5B2 | 4.60AA | 3.49AA Large | 2.08— | 1.47— | Same color |
Shades
Shades and tints (50–950)
