PreviewingGo to this paletteOpen in generator
Code
/* Sandstone Beige — colorset.net */
:root {
--color-1: #D4C3A3;
--color-2: #DFD1B7;
--color-3: #EADFCB;
--color-4: #F5EDDF;
--color-5: #FFFBF3;
--color-bg: #FFFBF3;
--color-surface: #F6F2EA;
--color-border: #DED9CE;
--color-text: #5D4E32;
--color-muted: #796C53;
--color-primary: #98886A;
--color-on-primary: #000000;
--color-accent: #64573F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130F06;
--color-surface: #1E190F;
--color-border: #342D20;
--color-text: #FFFBF3;
--color-muted: #918D86;
--color-primary: #D4C3A3;
--color-on-primary: #130F06;
--color-accent: #EADFCB;
--color-on-accent: #130F06;
}
}
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 #D4C3A3 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D4C3A3 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D4C3A3 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D4C3A3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.82:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 6.06:1 | AA pass 4.5:1 | |
| Label on accent | 7.05:1 | AAA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 6.83:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.52:1 | AAA pass 4.5:1 | |
| Text on surface | 16.94:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.79:1 | AA pass 4.5:1 | |
| Label on primary | 11.04:1 | AAA pass 4.5:1 | |
| Label on accent | 14.49:1 | AAA pass 4.5:1 | |
| Primary on background | 11.04:1 | AAA pass 3:1 | |
| Accent on background | 14.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 | #D4C3A3 (Text 1) | #DFD1B7 (Text 2) | #EADFCB (Text 3) | #F5EDDF (Text 4) | #FFFBF3 (Text 5) |
|---|---|---|---|---|---|
| #D4C3A3 | Same color | 1.15— | 1.31— | 1.49— | 1.68— |
| #DFD1B7 | 1.15— | Same color | 1.14— | 1.30— | 1.46— |
| #EADFCB | 1.31— | 1.14— | Same color | 1.13— | 1.28— |
| #F5EDDF | 1.49— | 1.30— | 1.13— | Same color | 1.13— |
| #FFFBF3 | 1.68— | 1.46— | 1.28— | 1.13— | Same color |
Shades
Shades and tints (50–950)
