PreviewingGo to this paletteOpen in generator
Code
/* Wheat Light — colorset.net */
:root {
--color-1: #F5DEB3;
--color-2: #F9E6C8;
--color-3: #FDEEDF;
--color-4: #FFF6F4;
--color-5: #FFFEF9;
--color-bg: #FFFEF9;
--color-surface: #F6F5F0;
--color-border: #DEDCD3;
--color-text: #634F28;
--color-muted: #7B6E55;
--color-primary: #9E8960;
--color-on-primary: #000000;
--color-accent: #695837;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150E04;
--color-surface: #1F180C;
--color-border: #352D1C;
--color-text: #FFFEF9;
--color-muted: #908F8A;
--color-primary: #F5DEB3;
--color-on-primary: #150E04;
--color-accent: #BBA885;
--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 | from palette · color 5 | adjusted for contrast · from #F5DEB3 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F5DEB3 | from palette · color 5 |
| 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.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 6.20:1 | AA pass 4.5:1 | |
| Label on accent | 6.88:1 | AA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 6.81:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.97:1 | AAA pass 4.5:1 | |
| Text on surface | 17.41:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.91:1 | AA pass 4.5:1 | |
| Label on primary | 14.58:1 | AAA pass 4.5:1 | |
| Label on accent | 8.26:1 | AAA pass 4.5:1 | |
| Primary on background | 14.58:1 | AAA pass 3:1 | |
| Accent on background | 8.26: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 | #F5DEB3 (Text 1) | #F9E6C8 (Text 2) | #FDEEDF (Text 3) | #FFF6F4 (Text 4) | #FFFEF9 (Text 5) |
|---|---|---|---|---|---|
| #F5DEB3 | Same color | 1.08— | 1.16— | 1.24— | 1.30— |
| #F9E6C8 | 1.08— | Same color | 1.08— | 1.15— | 1.21— |
| #FDEEDF | 1.16— | 1.08— | Same color | 1.07— | 1.13— |
| #FFF6F4 | 1.24— | 1.15— | 1.07— | Same color | 1.05— |
| #FFFEF9 | 1.30— | 1.21— | 1.13— | 1.05— | Same color |
Shades
Shades and tints (50–950)
