PreviewingGo to this paletteOpen in generator
Code
/* Wheat Brown — colorset.net */
:root {
--color-1: #8B4513;
--color-2: #F5DEB3;
--color-3: #FFFACD;
--color-4: #E6E6FA;
--color-5: #F0F8FF;
--color-bg: #F9F7EA;
--color-surface: #EFEEE1;
--color-border: #D7D6C5;
--color-text: #76401C;
--color-muted: #7F6557;
--color-primary: #8B4513;
--color-on-primary: #FFFFFF;
--color-accent: #8F8A61;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A03;
--color-surface: #26140A;
--color-border: #3E281B;
--color-text: #FEFAD3;
--color-muted: #908D71;
--color-primary: #9B5325;
--color-on-primary: #FFFFFF;
--color-accent: #F5DEB3;
--color-on-accent: #1B0A03;
}
}
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 #F0F8FF | adjusted for contrast · from #8B4513 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B4513 | adjusted for contrast · from #FFFACD |
| Muted text | derived | derived |
| Primary | from palette · color 1 | adjusted for contrast · from #8B4513 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8B4513 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 7.10:1 | AAA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 6.60:1 | AA pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.17:1 | AAA pass 4.5:1 | |
| Text on surface | 16.71:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.71:1 | AA pass 4.5:1 | |
| Label on primary | 5.74:1 | AA pass 4.5:1 | |
| Label on accent | 14.64:1 | AAA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 14.64: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 | #8B4513 (Text 1) | #F5DEB3 (Text 2) | #FFFACD (Text 3) | #E6E6FA (Text 4) | #F0F8FF (Text 5) |
|---|---|---|---|---|---|
| #8B4513 | Same color | 5.40AA | 6.70AA | 5.77AA | 6.62AA |
| #F5DEB3 | 5.40AA | Same color | 1.24— | 1.07— | 1.22— |
| #FFFACD | 6.70AA | 1.24— | Same color | 1.16— | 1.01— |
| #E6E6FA | 5.77AA | 1.07— | 1.16— | Same color | 1.15— |
| #F0F8FF | 6.62AA | 1.22— | 1.01— | 1.15— | Same color |
Shades
Shades and tints (50–950)
