PreviewingGo to this paletteOpen in generator
Code
/* Hazelwood — colorset.net */
:root {
--color-1: #8E7618;
--color-2: #A68B5B;
--color-3: #B89A74;
--color-4: #C9B58C;
--color-5: #D2B48C;
--color-bg: #FFF5E9;
--color-surface: #F5ECE0;
--color-border: #DFD3C4;
--color-text: #5E4C00;
--color-muted: #726A50;
--color-primary: #8B7313;
--color-on-primary: #FFFFFF;
--color-accent: #9F835C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150F00;
--color-surface: #1F1905;
--color-border: #352D15;
--color-text: #CDB596;
--color-muted: #917F68;
--color-primary: #8B7313;
--color-on-primary: #FFFFFF;
--color-accent: #B89A74;
--color-on-accent: #150F00;
}
}
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 #D2B48C | adjusted for contrast · from #8E7618 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8E7618 | adjusted for contrast · from #D2B48C |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8E7618 | adjusted for contrast · from #8E7618 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A68B5B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 5.88:1 | AA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.68:1 | AAA pass 4.5:1 | |
| Text on surface | 8.88:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 7.19:1 | AAA pass 4.5:1 | |
| Primary on background | 4.14:1 | AA Large pass 3:1 | |
| Accent on background | 7.19: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 | #8E7618 (Text 1) | #A68B5B (Text 2) | #B89A74 (Text 3) | #C9B58C (Text 4) | #D2B48C (Text 5) |
|---|---|---|---|---|---|
| #8E7618 | Same color | 1.36— | 1.66— | 2.20— | 2.24— |
| #A68B5B | 1.36— | Same color | 1.22— | 1.62— | 1.65— |
| #B89A74 | 1.66— | 1.22— | Same color | 1.32— | 1.35— |
| #C9B58C | 2.20— | 1.62— | 1.32— | Same color | 1.02— |
| #D2B48C | 2.24— | 1.65— | 1.35— | 1.02— | Same color |
Shades
Shades and tints (50–950)
