PreviewingGo to this paletteOpen in generator
Code
/* Sandy Gold — colorset.net */
:root {
--color-1: #CD853F;
--color-2: #D69C5A;
--color-3: #DFB375;
--color-4: #E8CA90;
--color-5: #F1E1AB;
--color-bg: #FBF7E8;
--color-surface: #F2EEDF;
--color-border: #DAD5C3;
--color-text: #72420F;
--color-muted: #7C6654;
--color-primary: #C07931;
--color-on-primary: #000000;
--color-accent: #988855;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0B01;
--color-surface: #251607;
--color-border: #3C2918;
--color-text: #ECE1BC;
--color-muted: #8B8368;
--color-primary: #CD853F;
--color-on-primary: #1A0B01;
--color-accent: #E8CA90;
--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 | adjusted for contrast · from #F1E1AB | adjusted for contrast · from #CD853F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #CD853F | adjusted for contrast · from #F1E1AB |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #CD853F | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CD853F | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.82:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 6.02:1 | AA pass 4.5:1 | |
| Label on accent | 5.99:1 | AA pass 4.5:1 | |
| Primary on background | 3.25:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.71:1 | AAA pass 4.5:1 | |
| Text on surface | 13.42:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 6.43:1 | AA pass 4.5:1 | |
| Label on accent | 12.16:1 | AAA pass 4.5:1 | |
| Primary on background | 6.43:1 | AA pass 3:1 | |
| Accent on background | 12.16: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 | #CD853F (Text 1) | #D69C5A (Text 2) | #DFB375 (Text 3) | #E8CA90 (Text 4) | #F1E1AB (Text 5) |
|---|---|---|---|---|---|
| #CD853F | Same color | 1.25— | 1.54— | 1.89— | 2.29— |
| #D69C5A | 1.25— | Same color | 1.24— | 1.52— | 1.84— |
| #DFB375 | 1.54— | 1.24— | Same color | 1.23— | 1.48— |
| #E8CA90 | 1.89— | 1.52— | 1.23— | Same color | 1.21— |
| #F1E1AB | 2.29— | 1.84— | 1.48— | 1.21— | Same color |
Shades
Shades and tints (50–950)
