PreviewingGo to this paletteOpen in generator
Code
/* Desert Dune Tan — colorset.net */
:root {
--color-1: #EDC9AF;
--color-2: #DEB887;
--color-3: #D2B48C;
--color-4: #BC9A6A;
--color-5: #996633;
--color-bg: #FFF5ED;
--color-surface: #F6EBE3;
--color-border: #E0D2C8;
--color-text: #70420C;
--color-muted: #7B6653;
--color-primary: #996633;
--color-on-primary: #FFFFFF;
--color-accent: #A38169;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0C01;
--color-surface: #251607;
--color-border: #3C2918;
--color-text: #EBCAB2;
--color-muted: #967E6C;
--color-primary: #996633;
--color-on-primary: #FFFFFF;
--color-accent: #DEB887;
--color-on-accent: #1A0C01;
}
}
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 #EDC9AF | adjusted for contrast · from #996633 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #996633 | adjusted for contrast · from #EDC9AF |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #BC9A6A | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.90:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.88:1 | AA pass 4.5:1 | |
| Label on accent | 5.90:1 | AA pass 4.5:1 | |
| Primary on background | 4.54:1 | AA pass 3:1 | |
| Accent on background | 3.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.42:1 | AAA pass 4.5:1 | |
| Text on surface | 11.39:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.88:1 | AA pass 4.5:1 | |
| Label on accent | 10.31:1 | AAA pass 4.5:1 | |
| Primary on background | 3.92:1 | AA Large pass 3:1 | |
| Accent on background | 10.31: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 | #EDC9AF (Text 1) | #DEB887 (Text 2) | #D2B48C (Text 3) | #BC9A6A (Text 4) | #996633 (Text 5) |
|---|---|---|---|---|---|
| #EDC9AF | Same color | 1.20— | 1.27— | 1.70— | 3.15AA Large |
| #DEB887 | 1.20— | Same color | 1.06— | 1.42— | 2.63— |
| #D2B48C | 1.27— | 1.06— | Same color | 1.34— | 2.47— |
| #BC9A6A | 1.70— | 1.42— | 1.34— | Same color | 1.85— |
| #996633 | 3.15AA Large | 2.63— | 2.47— | 1.85— | Same color |
Shades
Shades and tints (50–950)
