PreviewingGo to this paletteOpen in generator
Code
/* Vanilla Wheat — colorset.net */
:root {
--color-1: #F3E5AB;
--color-2: #F5DEB3;
--color-3: #FAF0E6;
--color-4: #FFF8DC;
--color-5: #FFFACD;
--color-bg: #F9F7EA;
--color-surface: #EFEEE1;
--color-border: #D7D6C5;
--color-text: #604C25;
--color-muted: #776A51;
--color-primary: #93864F;
--color-on-primary: #000000;
--color-accent: #90877E;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150E04;
--color-surface: #1F180C;
--color-border: #352D1C;
--color-text: #FEFAD3;
--color-muted: #908D71;
--color-primary: #F3E5AB;
--color-on-primary: #150E04;
--color-accent: #BAAE7F;
--color-on-accent: #150E04;
}
}
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 #FAF0E6 | adjusted for contrast · from #F5DEB3 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F5DEB3 | adjusted for contrast · from #FFFACD |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F5DEB3 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F5DEB3 | adjusted for contrast · from #F5DEB3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 5.76:1 | AA pass 4.5:1 | |
| Label on accent | 5.95:1 | AA pass 4.5:1 | |
| Primary on background | 3.39:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.08:1 | AAA pass 4.5:1 | |
| Text on surface | 16.60:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.69:1 | AA pass 4.5:1 | |
| Label on primary | 15.15:1 | AAA pass 4.5:1 | |
| Label on accent | 8.62:1 | AAA pass 4.5:1 | |
| Primary on background | 15.15:1 | AAA pass 3:1 | |
| Accent on background | 8.62: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 | #F3E5AB (Text 1) | #F5DEB3 (Text 2) | #FAF0E6 (Text 3) | #FFF8DC (Text 4) | #FFFACD (Text 5) |
|---|---|---|---|---|---|
| #F3E5AB | Same color | 1.04— | 1.12— | 1.19— | 1.19— |
| #F5DEB3 | 1.04— | Same color | 1.17— | 1.23— | 1.24— |
| #FAF0E6 | 1.12— | 1.17— | Same color | 1.06— | 1.06— |
| #FFF8DC | 1.19— | 1.23— | 1.06— | Same color | 1.00— |
| #FFFACD | 1.19— | 1.24— | 1.06— | 1.00— | Same color |
Shades
Shades and tints (50–950)
