PreviewingGo to this paletteOpen in generator
Code
/* Sand Warm — colorset.net */
:root {
--color-1: #EDC9AF;
--color-2: #F2D4BE;
--color-3: #F7DFCD;
--color-4: #FCEADC;
--color-5: #E8BEAA;
--color-bg: #FCEADC;
--color-surface: #FEF3EA;
--color-border: #E6D1C0;
--color-text: #674433;
--color-muted: #816659;
--color-primary: #A7806D;
--color-on-primary: #000000;
--color-accent: #6F5142;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170C07;
--color-surface: #221611;
--color-border: #3A2A22;
--color-text: #FCEADC;
--color-muted: #938376;
--color-primary: #E8BEAA;
--color-on-primary: #170C07;
--color-accent: #AC8B7B;
--color-on-accent: #170C07;
}
}
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 #E8BEAA |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E8BEAA | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E8BEAA | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E8BEAA | adjusted for contrast · from #E8BEAA |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.32:1 | AAA pass 4.5:1 | |
| Text on surface | 7.84:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.51:1 | AA pass 4.5:1 | |
| Label on primary | 5.95:1 | AA pass 4.5:1 | |
| Label on accent | 7.16:1 | AAA pass 4.5:1 | |
| Primary on background | 3.01:1 | AA Large pass 3:1 | |
| Accent on background | 6.12:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.43:1 | AAA pass 4.5:1 | |
| Text on surface | 15.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.26:1 | AA pass 4.5:1 | |
| Label on primary | 11.33:1 | AAA pass 4.5:1 | |
| Label on accent | 6.17:1 | AA pass 4.5:1 | |
| Primary on background | 11.33:1 | AAA pass 3:1 | |
| Accent on background | 6.17:1 | AA 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) | #F2D4BE (Text 2) | #F7DFCD (Text 3) | #FCEADC (Text 4) | #E8BEAA (Text 5) |
|---|---|---|---|---|---|
| #EDC9AF | Same color | 1.10— | 1.21— | 1.32— | 1.10— |
| #F2D4BE | 1.10— | Same color | 1.10— | 1.20— | 1.21— |
| #F7DFCD | 1.21— | 1.10— | Same color | 1.09— | 1.32— |
| #FCEADC | 1.32— | 1.20— | 1.09— | Same color | 1.45— |
| #E8BEAA | 1.10— | 1.21— | 1.32— | 1.45— | Same color |
Shades
Shades and tints (50–950)
