PreviewingGo to this paletteOpen in generator
Code
/* Desert Sandstone — colorset.net */
:root {
--color-1: #C5A783;
--color-2: #D2B48C;
--color-3: #DEB887;
--color-4: #E9D5B5;
--color-5: #F5DEB3;
--color-bg: #FDF6E9;
--color-surface: #F4EDE0;
--color-border: #DCD4C4;
--color-text: #634928;
--color-muted: #7A6752;
--color-primary: #A48051;
--color-on-primary: #000000;
--color-accent: #6D502A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160E04;
--color-surface: #20180D;
--color-border: #372C1D;
--color-text: #F1DFBC;
--color-muted: #8F8168;
--color-primary: #DEB887;
--color-on-primary: #160E04;
--color-accent: #C5A783;
--color-on-accent: #160E04;
}
}
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 #C5A783 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #C5A783 | adjusted for contrast · from #F5DEB3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C5A783 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C5A783 | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.78:1 | AA pass 4.5:1 | |
| Label on accent | 7.42:1 | AAA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 6.90:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.58:1 | AAA pass 4.5:1 | |
| Text on surface | 13.37:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 10.30:1 | AAA pass 4.5:1 | |
| Label on accent | 8.40:1 | AAA pass 4.5:1 | |
| Primary on background | 10.30:1 | AAA pass 3:1 | |
| Accent on background | 8.40: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 | #C5A783 (Text 1) | #D2B48C (Text 2) | #DEB887 (Text 3) | #E9D5B5 (Text 4) | #F5DEB3 (Text 5) |
|---|---|---|---|---|---|
| #C5A783 | Same color | 1.15— | 1.23— | 1.59— | 1.73— |
| #D2B48C | 1.15— | Same color | 1.06— | 1.38— | 1.50— |
| #DEB887 | 1.23— | 1.06— | Same color | 1.30— | 1.41— |
| #E9D5B5 | 1.59— | 1.38— | 1.30— | Same color | 1.09— |
| #F5DEB3 | 1.73— | 1.50— | 1.41— | 1.09— | Same color |
Shades
Shades and tints (50–950)
