PreviewingGo to this paletteOpen in generator
Code
/* Spruce Woodland — colorset.net */
:root {
--color-1: #0F3B2C;
--color-2: #1F5C42;
--color-3: #2F7D58;
--color-4: #3F9E6E;
--color-5: #4FBF84;
--color-bg: #ECFBF2;
--color-surface: #E3F2E8;
--color-border: #C8DACE;
--color-text: #0F3B2C;
--color-muted: #547265;
--color-primary: #208557;
--color-on-primary: #FFFFFF;
--color-accent: #1F5C42;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #06120D;
--color-surface: #0F1D17;
--color-border: #20322B;
--color-text: #8DB09A;
--color-muted: #6D8877;
--color-primary: #3F9E6E;
--color-on-primary: #06120D;
--color-accent: #45705E;
--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 #4FBF84 | adjusted for contrast · from #0F3B2C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #4FBF84 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #2F7D58 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #2F7D58 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.68:1 | AAA pass 4.5:1 | |
| Text on surface | 10.78:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 7.87:1 | AAA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 7.36:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.01:1 | AAA pass 4.5:1 | |
| Text on surface | 7.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 5.75:1 | AA pass 4.5:1 | |
| Label on accent | 5.63:1 | AA pass 4.5:1 | |
| Primary on background | 5.75:1 | AA pass 3:1 | |
| Accent on background | 3.39: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 | #0F3B2C (Text 1) | #1F5C42 (Text 2) | #2F7D58 (Text 3) | #3F9E6E (Text 4) | #4FBF84 (Text 5) |
|---|---|---|---|---|---|
| #0F3B2C | Same color | 1.59— | 2.49— | 3.76AA Large | 5.42AA |
| #1F5C42 | 1.59— | Same color | 1.57— | 2.37— | 3.42AA Large |
| #2F7D58 | 2.49— | 1.57— | Same color | 1.51— | 2.17— |
| #3F9E6E | 3.76AA Large | 2.37— | 1.51— | Same color | 1.44— |
| #4FBF84 | 5.42AA | 3.42AA Large | 2.17— | 1.44— | Same color |
Shades
Shades and tints (50–950)
