PreviewingGo to this paletteOpen in generator
Code
/* Sandstorm Dusk — colorset.net */
:root {
--color-1: #2D231B;
--color-2: #E0A65A;
--color-3: #A1B07A;
--color-4: #4A3D31;
--color-5: #F5ECDD;
--color-bg: #F5ECDD;
--color-surface: #F9F4EB;
--color-border: #DED3C1;
--color-text: #2D231B;
--color-muted: #73675D;
--color-primary: #9F6911;
--color-on-primary: #FFFFFF;
--color-accent: #808E59;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120F0C;
--color-surface: #1C1916;
--color-border: #332C27;
--color-text: #F5ECDD;
--color-muted: #8D8578;
--color-primary: #E0A65A;
--color-on-primary: #120F0C;
--color-accent: #A1B07A;
--color-on-accent: #120F0C;
}
}
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 | from palette · color 5 | adjusted for contrast · from #2D231B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #A1B07A | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A1B07A | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.10:1 | AAA pass 4.5:1 | |
| Text on surface | 14.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.68:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 5.93:1 | AA pass 4.5:1 | |
| Primary on background | 3.98:1 | AA Large pass 3:1 | |
| Accent on background | 3.02:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.30:1 | AAA pass 4.5:1 | |
| Text on surface | 14.94:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.24:1 | AA pass 4.5:1 | |
| Label on primary | 8.89:1 | AAA pass 4.5:1 | |
| Label on accent | 8.19:1 | AAA pass 4.5:1 | |
| Primary on background | 8.89:1 | AAA pass 3:1 | |
| Accent on background | 8.19: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 | #2D231B (Text 1) | #E0A65A (Text 2) | #A1B07A (Text 3) | #4A3D31 (Text 4) | #F5ECDD (Text 5) |
|---|---|---|---|---|---|
| #2D231B | Same color | 7.14AAA | 6.58AA | 1.46— | 13.10AAA |
| #E0A65A | 7.14AAA | Same color | 1.08— | 4.88AA | 1.83— |
| #A1B07A | 6.58AA | 1.08— | Same color | 4.50AA | 1.99— |
| #4A3D31 | 1.46— | 4.88AA | 4.50AA | Same color | 8.95AAA |
| #F5ECDD | 13.10AAA | 1.83— | 1.99— | 8.95AAA | Same color |
Shades
Shades and tints (50–950)
