PreviewingGo to this paletteOpen in generator
Code
/* Sand Gold — colorset.net */
:root {
--color-1: #DAA520;
--color-2: #F4A460;
--color-3: #FFEFD5;
--color-4: #FFF8DC;
--color-5: #FFFACD;
--color-bg: #F9F7EA;
--color-surface: #EFEEE1;
--color-border: #D7D6C5;
--color-text: #644900;
--color-muted: #756850;
--color-primary: #AE8100;
--color-on-primary: #000000;
--color-accent: #8F8A61;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170E00;
--color-surface: #211805;
--color-border: #372C15;
--color-text: #FEFAD3;
--color-muted: #908D71;
--color-primary: #DAA520;
--color-on-primary: #170E00;
--color-accent: #F4A460;
--color-on-accent: #170E00;
}
}
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 #FFF8DC | adjusted for contrast · from #DAA520 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DAA520 | adjusted for contrast · from #FFFACD |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DAA520 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #DAA520 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.82:1 | AAA pass 4.5:1 | |
| Text on surface | 7.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 5.94:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.04:1 | AAA pass 4.5:1 | |
| Text on surface | 16.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.67:1 | AA pass 4.5:1 | |
| Label on primary | 8.54:1 | AAA pass 4.5:1 | |
| Label on accent | 9.39:1 | AAA pass 4.5:1 | |
| Primary on background | 8.54:1 | AAA pass 3:1 | |
| Accent on background | 9.39: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 | #DAA520 (Text 1) | #F4A460 (Text 2) | #FFEFD5 (Text 3) | #FFF8DC (Text 4) | #FFFACD (Text 5) |
|---|---|---|---|---|---|
| #DAA520 | Same color | 1.10— | 1.98— | 2.10— | 2.11— |
| #F4A460 | 1.10— | Same color | 1.80— | 1.91— | 1.92— |
| #FFEFD5 | 1.98— | 1.80— | Same color | 1.06— | 1.07— |
| #FFF8DC | 2.10— | 1.91— | 1.06— | Same color | 1.00— |
| #FFFACD | 2.11— | 1.92— | 1.07— | 1.00— | Same color |
Shades
Shades and tints (50–950)
