PreviewingGo to this paletteOpen in generator
Code
/* Deep Spruce — colorset.net */
:root {
--color-1: #003322;
--color-2: #004433;
--color-3: #005544;
--color-4: #006655;
--color-5: #007766;
--color-bg: #E9FCF7;
--color-surface: #E0F2ED;
--color-border: #C4DBD5;
--color-text: #003322;
--color-muted: #557264;
--color-primary: #007766;
--color-on-primary: #FFFFFF;
--color-accent: #004433;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #05130D;
--color-surface: #0E1D17;
--color-border: #20332A;
--color-text: #83AFA4;
--color-muted: #698B83;
--color-primary: #007766;
--color-on-primary: #FFFFFF;
--color-accent: #5DA898;
--color-on-accent: #05130D;
}
}
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 #007766 | adjusted for contrast · from #003322 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #007766 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #007766 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.18:1 | AAA pass 4.5:1 | |
| Text on surface | 12.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 5.48:1 | AA pass 4.5:1 | |
| Label on accent | 11.20:1 | AAA pass 4.5:1 | |
| Primary on background | 5.15:1 | AA pass 3:1 | |
| Accent on background | 10.53:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 5.48:1 | AA pass 4.5:1 | |
| Label on accent | 6.80:1 | AA pass 4.5:1 | |
| Primary on background | 3.47:1 | AA Large pass 3:1 | |
| Accent on background | 6.80:1 | AA 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 | #003322 (Text 1) | #004433 (Text 2) | #005544 (Text 3) | #006655 (Text 4) | #007766 (Text 5) |
|---|---|---|---|---|---|
| #003322 | Same color | 1.25— | 1.59— | 2.03— | 2.56— |
| #004433 | 1.25— | Same color | 1.27— | 1.62— | 2.04— |
| #005544 | 1.59— | 1.27— | Same color | 1.27— | 1.61— |
| #006655 | 2.03— | 1.62— | 1.27— | Same color | 1.26— |
| #007766 | 2.56— | 2.04— | 1.61— | 1.26— | Same color |
Shades
Shades and tints (50–950)
