PreviewingGo to this paletteOpen in generator
Code
/* Hickory Brown — colorset.net */
:root {
--color-1: #7C5C3E;
--color-2: #967252;
--color-3: #B08866;
--color-4: #CA9E7A;
--color-5: #E4B48E;
--color-bg: #FFF5ED;
--color-surface: #F8EBE1;
--color-border: #E2D1C5;
--color-text: #67492B;
--color-muted: #7C6754;
--color-primary: #967252;
--color-on-primary: #000000;
--color-accent: #7C5C3E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170D05;
--color-surface: #21170D;
--color-border: #382B1E;
--color-text: #D8B89F;
--color-muted: #957D6B;
--color-primary: #967252;
--color-on-primary: #000000;
--color-accent: #CA9E7A;
--color-on-accent: #170D05;
}
}
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 #E4B48E | adjusted for contrast · from #7C5C3E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #7C5C3E | adjusted for contrast · from #E4B48E |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 1 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 6.07:1 | AA pass 4.5:1 | |
| Primary on background | 4.05:1 | AA Large pass 3:1 | |
| Accent on background | 5.65:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.29:1 | AAA pass 4.5:1 | |
| Text on surface | 9.45:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 7.92:1 | AAA pass 4.5:1 | |
| Primary on background | 4.40:1 | AA Large pass 3:1 | |
| Accent on background | 7.92: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 | #7C5C3E (Text 1) | #967252 (Text 2) | #B08866 (Text 3) | #CA9E7A (Text 4) | #E4B48E (Text 5) |
|---|---|---|---|---|---|
| #7C5C3E | Same color | 1.40— | 1.90— | 2.51— | 3.24AA Large |
| #967252 | 1.40— | Same color | 1.36— | 1.80— | 2.32— |
| #B08866 | 1.90— | 1.36— | Same color | 1.32— | 1.71— |
| #CA9E7A | 2.51— | 1.80— | 1.32— | Same color | 1.29— |
| #E4B48E | 3.24AA Large | 2.32— | 1.71— | 1.29— | Same color |
Shades
Shades and tints (50–950)
