PreviewingGo to this paletteOpen in generator
Code
/* Wheat Field — colorset.net */
:root {
--color-1: #F8C471;
--color-2: #F7DC6F;
--color-3: #F4D03F;
--color-4: #F1C40F;
--color-5: #D4AC0D;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #614D00;
--color-muted: #746B51;
--color-primary: #A58500;
--color-on-primary: #000000;
--color-accent: #8B7500;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150F00;
--color-surface: #1F1905;
--color-border: #352D15;
--color-text: #E6DDB8;
--color-muted: #8A8469;
--color-primary: #D4AC0D;
--color-on-primary: #150F00;
--color-accent: #F7DC6F;
--color-on-accent: #150F00;
}
}
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 #F7DC6F | adjusted for contrast · from #D4AC0D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D4AC0D | adjusted for contrast · from #F7DC6F |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D4AC0D | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D4AC0D | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 5.95:1 | AA pass 4.5:1 | |
| Label on accent | 4.52:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.22:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.00:1 | AAA pass 4.5:1 | |
| Text on surface | 12.84:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 8.82:1 | AAA pass 4.5:1 | |
| Label on accent | 14.02:1 | AAA pass 4.5:1 | |
| Primary on background | 8.82:1 | AAA pass 3:1 | |
| Accent on background | 14.02: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 | #F8C471 (Text 1) | #F7DC6F (Text 2) | #F4D03F (Text 3) | #F1C40F (Text 4) | #D4AC0D (Text 5) |
|---|---|---|---|---|---|
| #F8C471 | Same color | 1.17— | 1.06— | 1.04— | 1.35— |
| #F7DC6F | 1.17— | Same color | 1.11— | 1.22— | 1.59— |
| #F4D03F | 1.06— | 1.11— | Same color | 1.10— | 1.44— |
| #F1C40F | 1.04— | 1.22— | 1.10— | Same color | 1.30— |
| #D4AC0D | 1.35— | 1.59— | 1.44— | 1.30— | Same color |
Shades
Shades and tints (50–950)
