PreviewingGo to this paletteOpen in generator
Code
/* Desert Brown — colorset.net */
:root {
--color-1: #5D4037;
--color-2: #6D4C41;
--color-3: #795548;
--color-4: #8D6E63;
--color-5: #A1887F;
--color-bg: #FDF5F2;
--color-surface: #F4EBE8;
--color-border: #DED2CD;
--color-text: #5D4037;
--color-muted: #82655C;
--color-primary: #8D6E63;
--color-on-primary: #FFFFFF;
--color-accent: #795548;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160D0A;
--color-surface: #211714;
--color-border: #382A26;
--color-text: #BAA097;
--color-muted: #977E75;
--color-primary: #8D6E63;
--color-on-primary: #FFFFFF;
--color-accent: #A1887F;
--color-on-accent: #160D0A;
}
}
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 #A1887F | adjusted for contrast · from #5D4037 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #A1887F |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.94:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 6.55:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 6.09:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.79:1 | AA pass 4.5:1 | |
| Primary on background | 4.14:1 | AA Large pass 3:1 | |
| Accent on background | 5.79: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 | #5D4037 (Text 1) | #6D4C41 (Text 2) | #795548 (Text 3) | #8D6E63 (Text 4) | #A1887F (Text 5) |
|---|---|---|---|---|---|
| #5D4037 | Same color | 1.22— | 1.42— | 2.02— | 2.81— |
| #6D4C41 | 1.22— | Same color | 1.16— | 1.65— | 2.30— |
| #795548 | 1.42— | 1.16— | Same color | 1.42— | 1.98— |
| #8D6E63 | 2.02— | 1.65— | 1.42— | Same color | 1.40— |
| #A1887F | 2.81— | 2.30— | 1.98— | 1.40— | Same color |
Shades
Shades and tints (50–950)
