PreviewingGo to this paletteOpen in generator
Code
/* Wheat Gold — colorset.net */
:root {
--color-1: #B8860B;
--color-2: #DAA520;
--color-3: #F4A460;
--color-4: #DEB887;
--color-5: #F5DEB3;
--color-bg: #FDF6E9;
--color-surface: #F4EDE0;
--color-border: #DCD4C4;
--color-text: #654800;
--color-muted: #766850;
--color-primary: #B18000;
--color-on-primary: #000000;
--color-accent: #9B865E;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170E00;
--color-surface: #221805;
--color-border: #382C15;
--color-text: #F1DFBC;
--color-muted: #8F8168;
--color-primary: #B8860B;
--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 #F5DEB3 | adjusted for contrast · from #B8860B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B8860B | adjusted for contrast · from #F5DEB3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B8860B | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B8860B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.88:1 | AAA pass 4.5:1 | |
| Text on surface | 7.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.96:1 | AA pass 4.5:1 | |
| Label on accent | 5.97:1 | AA pass 4.5:1 | |
| Primary on background | 3.28: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.57:1 | AAA pass 4.5:1 | |
| Text on surface | 13.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.87:1 | AA pass 4.5:1 | |
| Label on accent | 9.39:1 | AAA pass 4.5:1 | |
| Primary on background | 5.87:1 | AA 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 | #B8860B (Text 1) | #DAA520 (Text 2) | #F4A460 (Text 3) | #DEB887 (Text 4) | #F5DEB3 (Text 5) |
|---|---|---|---|---|---|
| #B8860B | Same color | 1.45— | 1.60— | 1.75— | 2.48— |
| #DAA520 | 1.45— | Same color | 1.10— | 1.21— | 1.70— |
| #F4A460 | 1.60— | 1.10— | Same color | 1.10— | 1.55— |
| #DEB887 | 1.75— | 1.21— | 1.10— | Same color | 1.41— |
| #F5DEB3 | 2.48— | 1.70— | 1.55— | 1.41— | Same color |
Shades
Shades and tints (50–950)
