PreviewingGo to this paletteOpen in generator
Code
/* Dune Cream — colorset.net */
:root {
--color-1: #D2B48C;
--color-2: #DEB887;
--color-3: #F4A460;
--color-4: #FFEFD5;
--color-5: #FFF8DC;
--color-bg: #FFF8DC;
--color-surface: #F6EFD3;
--color-border: #DDD6B9;
--color-text: #744314;
--color-muted: #7E6755;
--color-primary: #AE6316;
--color-on-primary: #FFFFFF;
--color-accent: #8F896F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0B01;
--color-surface: #251508;
--color-border: #3D2919;
--color-text: #FFF8DC;
--color-muted: #928C72;
--color-primary: #F4A460;
--color-on-primary: #1A0B01;
--color-accent: #D2B48C;
--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 | from palette · color 5 | adjusted for contrast · from #D2B48C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F4A460 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F4A460 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D2B48C | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.05:1 | AAA pass 4.5:1 | |
| Text on surface | 16.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.69:1 | AA pass 4.5:1 | |
| Label on primary | 9.45:1 | AAA pass 4.5:1 | |
| Label on accent | 9.75:1 | AAA pass 4.5:1 | |
| Primary on background | 9.45:1 | AAA pass 3:1 | |
| Accent on background | 9.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 | #D2B48C (Text 1) | #DEB887 (Text 2) | #F4A460 (Text 3) | #FFEFD5 (Text 4) | #FFF8DC (Text 5) |
|---|---|---|---|---|---|
| #D2B48C | Same color | 1.06— | 1.03— | 1.74— | 1.85— |
| #DEB887 | 1.06— | Same color | 1.10— | 1.64— | 1.74— |
| #F4A460 | 1.03— | 1.10— | Same color | 1.80— | 1.91— |
| #FFEFD5 | 1.74— | 1.64— | 1.80— | Same color | 1.06— |
| #FFF8DC | 1.85— | 1.74— | 1.91— | 1.06— | Same color |
Shades
Shades and tints (50–950)
