PreviewingGo to this paletteOpen in generator
Code
/* Wood Brown — colorset.net */
:root {
--color-1: #A0522D;
--color-2: #8B4513;
--color-3: #CD853F;
--color-4: #D2B48C;
--color-5: #F5DEB3;
--color-bg: #FDF6E9;
--color-surface: #F4EDE0;
--color-border: #DCD4C4;
--color-text: #76401C;
--color-muted: #7F6557;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #9B865E;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A03;
--color-surface: #26140A;
--color-border: #3E281B;
--color-text: #F1DFBC;
--color-muted: #8F8168;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #D2B48C;
--color-on-accent: #1B0A03;
}
}
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 #F5DEB3 | adjusted for contrast · from #8B4513 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B4513 | adjusted for contrast · from #F5DEB3 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CD853F | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.75:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.97:1 | AA pass 4.5:1 | |
| Primary on background | 5.22:1 | AA pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.68:1 | AAA pass 4.5:1 | |
| Text on surface | 13.50: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 | 9.76:1 | AAA pass 4.5:1 | |
| Primary on background | 3.43:1 | AA Large pass 3:1 | |
| Accent on background | 9.76: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 | #A0522D (Text 1) | #8B4513 (Text 2) | #CD853F (Text 3) | #D2B48C (Text 4) | #F5DEB3 (Text 5) |
|---|---|---|---|---|---|
| #A0522D | Same color | 1.26— | 1.88— | 2.85— | 4.27AA Large |
| #8B4513 | 1.26— | Same color | 2.37— | 3.60AA Large | 5.40AA |
| #CD853F | 1.88— | 2.37— | Same color | 1.52— | 2.28— |
| #D2B48C | 2.85— | 3.60AA Large | 1.52— | Same color | 1.50— |
| #F5DEB3 | 4.27AA Large | 5.40AA | 2.28— | 1.50— | Same color |
Shades
Shades and tints (50–950)
