PreviewingGo to this paletteOpen in generator
Code
/* Chestnut Bark — colorset.net */
:root {
--color-1: #654321;
--color-2: #70491E;
--color-3: #7B4F1B;
--color-4: #865518;
--color-5: #915B15;
--color-bg: #FFF5EB;
--color-surface: #F7EBE0;
--color-border: #E1D2C4;
--color-text: #654321;
--color-muted: #7D6754;
--color-primary: #915B15;
--color-on-primary: #FFFFFF;
--color-accent: #553100;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180D04;
--color-surface: #22170C;
--color-border: #392A1D;
--color-text: #BA9F84;
--color-muted: #947F6A;
--color-primary: #915B15;
--color-on-primary: #FFFFFF;
--color-accent: #C1905D;
--color-on-accent: #180D04;
}
}
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 #915B15 | adjusted for contrast · from #654321 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #915B15 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #654321 | adjusted for contrast · from #915B15 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.20:1 | AAA pass 4.5:1 | |
| Text on surface | 7.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.66:1 | AA pass 4.5:1 | |
| Label on accent | 11.50:1 | AAA pass 4.5:1 | |
| Primary on background | 5.26:1 | AA pass 3:1 | |
| Accent on background | 10.69:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.66:1 | AA pass 4.5:1 | |
| Label on accent | 6.75:1 | AA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 6.75: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 | #654321 (Text 1) | #70491E (Text 2) | #7B4F1B (Text 3) | #865518 (Text 4) | #915B15 (Text 5) |
|---|---|---|---|---|---|
| #654321 | Same color | 1.12— | 1.25— | 1.40— | 1.56— |
| #70491E | 1.12— | Same color | 1.12— | 1.25— | 1.39— |
| #7B4F1B | 1.25— | 1.12— | Same color | 1.12— | 1.25— |
| #865518 | 1.40— | 1.25— | 1.12— | Same color | 1.12— |
| #915B15 | 1.56— | 1.39— | 1.25— | 1.12— | Same color |
Shades
Shades and tints (50–950)
