PreviewingGo to this paletteOpen in generator
Code
/* Brass Harvest — colorset.net */
:root {
--color-1: #8B6914;
--color-2: #B8860B;
--color-3: #DAA520;
--color-4: #F0E68C;
--color-5: #FFFACD;
--color-bg: #F9F7EA;
--color-surface: #EFEEE1;
--color-border: #D7D6C5;
--color-text: #634900;
--color-muted: #756850;
--color-primary: #B18000;
--color-on-primary: #000000;
--color-accent: #8F8A61;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160E00;
--color-surface: #211805;
--color-border: #372C15;
--color-text: #FEFAD3;
--color-muted: #908D71;
--color-primary: #B8860B;
--color-on-primary: #160E00;
--color-accent: #F0E68C;
--color-on-accent: #160E00;
}
}
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 #8B6914 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B6914 | adjusted for contrast · from #FFFACD |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B8860B | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B8860B | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 5.96:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.27: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.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.68:1 | AA pass 4.5:1 | |
| Label on primary | 5.88:1 | AA pass 4.5:1 | |
| Label on accent | 14.95:1 | AAA pass 4.5:1 | |
| Primary on background | 5.88:1 | AA pass 3:1 | |
| Accent on background | 14.95: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 | #8B6914 (Text 1) | #B8860B (Text 2) | #DAA520 (Text 3) | #F0E68C (Text 4) | #FFFACD (Text 5) |
|---|---|---|---|---|---|
| #8B6914 | Same color | 1.56— | 2.27— | 3.97AA Large | 4.80AA |
| #B8860B | 1.56— | Same color | 1.45— | 2.54— | 3.07AA Large |
| #DAA520 | 2.27— | 1.45— | Same color | 1.75— | 2.11— |
| #F0E68C | 3.97AA Large | 2.54— | 1.75— | Same color | 1.21— |
| #FFFACD | 4.80AA | 3.07AA Large | 2.11— | 1.21— | Same color |
Shades
Shades and tints (50–950)
