PreviewingGo to this paletteOpen in generator
Code
/* Walnut Saddle Brown — colorset.net */
:root {
--color-1: #5D432C;
--color-2: #654321;
--color-3: #704214;
--color-4: #8B4513;
--color-5: #A0522D;
--color-bg: #FFF4F0;
--color-surface: #FAEAE3;
--color-border: #E4D0C8;
--color-text: #5D432C;
--color-muted: #7B6553;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #642705;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160D07;
--color-surface: #201710;
--color-border: #372B21;
--color-text: #C29D8D;
--color-muted: #997D71;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #7D614A;
--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 #A0522D | adjusted for contrast · from #5D432C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #A0522D |
| 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 #A0522D |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.44:1 | AAA pass 4.5:1 | |
| Text on surface | 7.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 11.45:1 | AAA pass 4.5:1 | |
| Primary on background | 5.20:1 | AA pass 3:1 | |
| Accent on background | 10.60:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.71:1 | AA pass 4.5:1 | |
| Primary on background | 3.42:1 | AA Large pass 3:1 | |
| Accent on background | 3.36: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 | #5D432C (Text 1) | #654321 (Text 2) | #704214 (Text 3) | #8B4513 (Text 4) | #A0522D (Text 5) |
|---|---|---|---|---|---|
| #5D432C | Same color | 1.03— | 1.08— | 1.28— | 1.62— |
| #654321 | 1.03— | Same color | 1.04— | 1.24— | 1.57— |
| #704214 | 1.08— | 1.04— | Same color | 1.19— | 1.51— |
| #8B4513 | 1.28— | 1.24— | 1.19— | Same color | 1.26— |
| #A0522D | 1.62— | 1.57— | 1.51— | 1.26— | Same color |
Shades
Shades and tints (50–950)
