PreviewingGo to this paletteOpen in generator
Code
/* Wheat Stalk — colorset.net */
:root {
--color-1: #C8B560;
--color-2: #D2B48C;
--color-3: #E5C29F;
--color-4: #F5DEB3;
--color-5: #FFFACD;
--color-bg: #F9F7EA;
--color-surface: #EFEEE1;
--color-border: #D7D6C5;
--color-text: #5B4D00;
--color-muted: #706A50;
--color-primary: #877417;
--color-on-primary: #FFFFFF;
--color-accent: #A18160;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140F00;
--color-surface: #1E1905;
--color-border: #332E15;
--color-text: #FEFAD3;
--color-muted: #908D71;
--color-primary: #C8B560;
--color-on-primary: #140F00;
--color-accent: #E5C29F;
--color-on-accent: #140F00;
}
}
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 #FFFACD | adjusted for contrast · from #C8B560 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #C8B560 | adjusted for contrast · from #FFFACD |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C8B560 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C8B560 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.82:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.35:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.06:1 | AAA pass 4.5:1 | |
| Text on surface | 16.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.68:1 | AA pass 4.5:1 | |
| Label on primary | 9.32:1 | AAA pass 4.5:1 | |
| Label on accent | 11.43:1 | AAA pass 4.5:1 | |
| Primary on background | 9.32:1 | AAA pass 3:1 | |
| Accent on background | 11.43: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 | #C8B560 (Text 1) | #D2B48C (Text 2) | #E5C29F (Text 3) | #F5DEB3 (Text 4) | #FFFACD (Text 5) |
|---|---|---|---|---|---|
| #C8B560 | Same color | 1.04— | 1.23— | 1.56— | 1.94— |
| #D2B48C | 1.04— | Same color | 1.18— | 1.50— | 1.86— |
| #E5C29F | 1.23— | 1.18— | Same color | 1.27— | 1.58— |
| #F5DEB3 | 1.56— | 1.50— | 1.27— | Same color | 1.24— |
| #FFFACD | 1.94— | 1.86— | 1.58— | 1.24— | Same color |
Shades
Shades and tints (50–950)
