PreviewingGo to this paletteOpen in generator
Code
/* Sand Dune — colorset.net */
:root {
--color-1: #C19A6B;
--color-2: #D2B48C;
--color-3: #E3CEAE;
--color-4: #F4E8CF;
--color-5: #B08B5B;
--color-bg: #F4E8CF;
--color-surface: #F7F0E1;
--color-border: #DDCFB4;
--color-text: #674613;
--color-muted: #76654F;
--color-primary: #A37F4F;
--color-on-primary: #000000;
--color-accent: #6C4F28;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180D02;
--color-surface: #221708;
--color-border: #392B19;
--color-text: #F4E8CF;
--color-muted: #8E836C;
--color-primary: #B08B5B;
--color-on-primary: #180D02;
--color-accent: #E3CEAE;
--color-on-accent: #180D02;
}
}
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 4 | adjusted for contrast · from #B08B5B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B08B5B | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B08B5B | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B08B5B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.02:1 | AAA pass 4.5:1 | |
| Text on surface | 7.52:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 5.71:1 | AA pass 4.5:1 | |
| Label on accent | 7.54:1 | AAA pass 4.5:1 | |
| Primary on background | 3.03:1 | AA Large pass 3:1 | |
| Accent on background | 6.20:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.76:1 | AAA pass 4.5:1 | |
| Text on surface | 14.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.12:1 | AA pass 4.5:1 | |
| Label on primary | 6.10:1 | AA pass 4.5:1 | |
| Label on accent | 12.49:1 | AAA pass 4.5:1 | |
| Primary on background | 6.10:1 | AA pass 3:1 | |
| Accent on background | 12.49: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 | #C19A6B (Text 1) | #D2B48C (Text 2) | #E3CEAE (Text 3) | #F4E8CF (Text 4) | #B08B5B (Text 5) |
|---|---|---|---|---|---|
| #C19A6B | Same color | 1.31— | 1.69— | 2.13— | 1.21— |
| #D2B48C | 1.31— | Same color | 1.29— | 1.62— | 1.59— |
| #E3CEAE | 1.69— | 1.29— | Same color | 1.26— | 2.05— |
| #F4E8CF | 2.13— | 1.62— | 1.26— | Same color | 2.58— |
| #B08B5B | 1.21— | 1.59— | 2.05— | 2.58— | Same color |
Shades
Shades and tints (50–950)
