PreviewingGo to this paletteOpen in generator
Code
/* Spruce Lake — colorset.net */
:root {
--color-1: #EEF4F3;
--color-2: #2E6A6A;
--color-3: #E3A44F;
--color-4: #C5DAD8;
--color-5: #172726;
--color-bg: #EEF4F3;
--color-surface: #F7FBFA;
--color-border: #D2DCDB;
--color-text: #172726;
--color-muted: #5F7170;
--color-primary: #BB7F23;
--color-on-primary: #172726;
--color-accent: #2E6A6A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #172726;
--color-surface: #223231;
--color-border: #344948;
--color-text: #EEF4F3;
--color-muted: #939998;
--color-primary: #E3A44F;
--color-on-primary: #172726;
--color-accent: #468281;
--color-on-accent: #000000;
}
}
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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E3A44F | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #2E6A6A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.93:1 | AAA pass 4.5:1 | |
| Text on surface | 14.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 6.20:1 | AA pass 4.5:1 | |
| Primary on background | 3.06:1 | AA Large pass 3:1 | |
| Accent on background | 5.57:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.93:1 | AAA pass 4.5:1 | |
| Text on surface | 12.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.35:1 | AA pass 4.5:1 | |
| Label on primary | 7.15:1 | AAA pass 4.5:1 | |
| Label on accent | 4.77:1 | AA pass 4.5:1 | |
| Primary on background | 7.15:1 | AAA pass 3:1 | |
| Accent on background | 3.52: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 | #EEF4F3 (Text 1) | #2E6A6A (Text 2) | #E3A44F (Text 3) | #C5DAD8 (Text 4) | #172726 (Text 5) |
|---|---|---|---|---|---|
| #EEF4F3 | Same color | 5.57AA | 1.95— | 1.31— | 13.93AAA |
| #2E6A6A | 5.57AA | Same color | 2.86— | 4.25AA Large | 2.50— |
| #E3A44F | 1.95— | 2.86— | Same color | 1.49— | 7.15AAA |
| #C5DAD8 | 1.31— | 4.25AA Large | 1.49— | Same color | 10.63AAA |
| #172726 | 13.93AAA | 2.50— | 7.15AAA | 10.63AAA | Same color |
Shades
Shades and tints (50–950)
