PreviewingGo to this paletteOpen in generator
Code
/* Desert Sand — colorset.net */
:root {
--color-1: #F4A460;
--color-2: #F6AD6B;
--color-3: #F8B676;
--color-4: #FABF81;
--color-5: #FCC88C;
--color-bg: #FFF5EA;
--color-surface: #F7ECDF;
--color-border: #E0D2C4;
--color-text: #744314;
--color-muted: #7E6755;
--color-primary: #AE6316;
--color-on-primary: #FFFFFF;
--color-accent: #B47D40;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0B01;
--color-surface: #251508;
--color-border: #3D2919;
--color-text: #E9CEB0;
--color-muted: #94806A;
--color-primary: #F4A460;
--color-on-primary: #1A0B01;
--color-accent: #FABF81;
--color-on-accent: #1A0B01;
}
}
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 #FCC88C | adjusted for contrast · from #F4A460 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F4A460 | adjusted for contrast · from #FCC88C |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F4A460 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F4A460 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.95:1 | AA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.74:1 | AAA pass 4.5:1 | |
| Text on surface | 11.70:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 9.45:1 | AAA pass 4.5:1 | |
| Label on accent | 11.75:1 | AAA pass 4.5:1 | |
| Primary on background | 9.45:1 | AAA pass 3:1 | |
| Accent on background | 11.75: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 | #F4A460 (Text 1) | #F6AD6B (Text 2) | #F8B676 (Text 3) | #FABF81 (Text 4) | #FCC88C (Text 5) |
|---|---|---|---|---|---|
| #F4A460 | Same color | 1.08— | 1.16— | 1.24— | 1.33— |
| #F6AD6B | 1.08— | Same color | 1.08— | 1.16— | 1.24— |
| #F8B676 | 1.16— | 1.08— | Same color | 1.07— | 1.15— |
| #FABF81 | 1.24— | 1.16— | 1.07— | Same color | 1.07— |
| #FCC88C | 1.33— | 1.24— | 1.15— | 1.07— | Same color |
Shades
Shades and tints (50–950)
