PreviewingGo to this paletteOpen in generator
Code
/* Walnut Bark — colorset.net */
:root {
--color-1: #443322;
--color-2: #554433;
--color-3: #665544;
--color-4: #776655;
--color-5: #887766;
--color-bg: #FBF6F0;
--color-surface: #F2ECE7;
--color-border: #DCD3CB;
--color-text: #443322;
--color-muted: #796654;
--color-primary: #887766;
--color-on-primary: #000000;
--color-accent: #554433;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140E09;
--color-surface: #1E1812;
--color-border: #352C23;
--color-text: #B3A18F;
--color-muted: #91806E;
--color-primary: #887766;
--color-on-primary: #000000;
--color-accent: #776451;
--color-on-accent: #FFFFFF;
}
}
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 #887766 | adjusted for contrast · from #443322 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #887766 |
| 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 #776655 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.22:1 | AAA pass 4.5:1 | |
| Text on surface | 10.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.88:1 | AA pass 4.5:1 | |
| Label on accent | 9.29:1 | AAA pass 4.5:1 | |
| Primary on background | 4.01:1 | AA Large pass 3:1 | |
| Accent on background | 8.64:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.88:1 | AA pass 4.5:1 | |
| Label on accent | 5.64:1 | AA pass 4.5:1 | |
| Primary on background | 4.45:1 | AA Large pass 3:1 | |
| Accent on background | 3.40:1 | AA Large 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 | #443322 (Text 1) | #554433 (Text 2) | #665544 (Text 3) | #776655 (Text 4) | #887766 (Text 5) |
|---|---|---|---|---|---|
| #443322 | Same color | 1.30— | 1.69— | 2.19— | 2.80— |
| #554433 | 1.30— | Same color | 1.30— | 1.69— | 2.16— |
| #665544 | 1.69— | 1.30— | Same color | 1.29— | 1.65— |
| #776655 | 2.19— | 1.69— | 1.29— | Same color | 1.28— |
| #887766 | 2.80— | 2.16— | 1.65— | 1.28— | Same color |
Shades
Shades and tints (50–950)
