PreviewingGo to this paletteOpen in generator
Code
/* Dried Hay — colorset.net */
:root {
--color-1: #8B7355;
--color-2: #A0895C;
--color-3: #B59E63;
--color-4: #CAB36A;
--color-5: #DFC871;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #624B2F;
--color-muted: #7A6852;
--color-primary: #9D8659;
--color-on-primary: #000000;
--color-accent: #8A7411;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150E06;
--color-surface: #1F180F;
--color-border: #362C1F;
--color-text: #D2C9A4;
--color-muted: #898267;
--color-primary: #A0895C;
--color-on-primary: #150E06;
--color-accent: #DFC871;
--color-on-accent: #150E06;
}
}
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 #DFC871 | adjusted for contrast · from #8B7355 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B7355 | adjusted for contrast · from #DFC871 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #A0895C | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8B7355 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.99:1 | AA pass 4.5:1 | |
| Label on accent | 4.58:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 4.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.51:1 | AAA pass 4.5:1 | |
| Text on surface | 10.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.68:1 | AA pass 4.5:1 | |
| Label on accent | 11.52:1 | AAA pass 4.5:1 | |
| Primary on background | 5.68:1 | AA pass 3:1 | |
| Accent on background | 11.52: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 | #8B7355 (Text 1) | #A0895C (Text 2) | #B59E63 (Text 3) | #CAB36A (Text 4) | #DFC871 (Text 5) |
|---|---|---|---|---|---|
| #8B7355 | Same color | 1.33— | 1.72— | 2.17— | 2.70— |
| #A0895C | 1.33— | Same color | 1.29— | 1.63— | 2.03— |
| #B59E63 | 1.72— | 1.29— | Same color | 1.27— | 1.57— |
| #CAB36A | 2.17— | 1.63— | 1.27— | Same color | 1.24— |
| #DFC871 | 2.70— | 2.03— | 1.57— | 1.24— | Same color |
Shades
Shades and tints (50–950)
