PreviewingGo to this paletteOpen in generator
Code
/* Hazel Brown — colorset.net */
:root {
--color-1: #8E7618;
--color-2: #A88C2F;
--color-3: #C2A246;
--color-4: #DCB85D;
--color-5: #F6CE74;
--color-bg: #FDF6E8;
--color-surface: #F3EDDF;
--color-border: #DCD4C3;
--color-text: #5E4C00;
--color-muted: #726A50;
--color-primary: #8B7313;
--color-on-primary: #FFFFFF;
--color-accent: #A28627;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150F00;
--color-surface: #1F1905;
--color-border: #352D15;
--color-text: #E2D2AF;
--color-muted: #8F8369;
--color-primary: #8B7313;
--color-on-primary: #FFFFFF;
--color-accent: #F6CE74;
--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 #F6CE74 | adjusted for contrast · from #8E7618 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8E7618 | adjusted for contrast · from #F6CE74 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8E7618 | adjusted for contrast · from #8E7618 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A88C2F | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.79:1 | AAA pass 4.5:1 | |
| Text on surface | 11.73:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 12.72:1 | AAA pass 4.5:1 | |
| Primary on background | 4.14:1 | AA Large pass 3:1 | |
| Accent on background | 12.72: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) | #A88C2F (Text 2) | #C2A246 (Text 3) | #DCB85D (Text 4) | #F6CE74 (Text 5) |
|---|---|---|---|---|---|
| #8E7618 | Same color | 1.36— | 1.80— | 2.33— | 2.94— |
| #A88C2F | 1.36— | Same color | 1.32— | 1.71— | 2.17— |
| #C2A246 | 1.80— | 1.32— | Same color | 1.29— | 1.64— |
| #DCB85D | 2.33— | 1.71— | 1.29— | Same color | 1.27— |
| #F6CE74 | 2.94— | 2.17— | 1.64— | 1.27— | Same color |
Shades
Shades and tints (50–950)
