PreviewingGo to this paletteOpen in generator
Code
/* Brass Yellow — colorset.net */
:root {
--color-1: #FCC200;
--color-2: #FFD700;
--color-3: #DAA520;
--color-4: #B8860B;
--color-5: #8B7355;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #624B2F;
--color-muted: #7A6852;
--color-primary: #B18000;
--color-on-primary: #000000;
--color-accent: #8C7500;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150E06;
--color-surface: #1F180F;
--color-border: #362C1F;
--color-text: #E4DAB5;
--color-muted: #898267;
--color-primary: #B8860B;
--color-on-primary: #150E06;
--color-accent: #FFD700;
--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 #FFD700 | adjusted for contrast · from #8B7355 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B7355 | adjusted for contrast · from #FCC200 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B8860B | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8B7355 | from palette · color 2 |
| 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.96:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.20:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.66:1 | AAA pass 4.5:1 | |
| Text on surface | 12.54:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.88:1 | AA pass 4.5:1 | |
| Label on accent | 13.64:1 | AAA pass 4.5:1 | |
| Primary on background | 5.88:1 | AA pass 3:1 | |
| Accent on background | 13.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 | #FCC200 (Text 1) | #FFD700 (Text 2) | #DAA520 (Text 3) | #B8860B (Text 4) | #8B7355 (Text 5) |
|---|---|---|---|---|---|
| #FCC200 | Same color | 1.16— | 1.37— | 1.99— | 2.75— |
| #FFD700 | 1.16— | Same color | 1.60— | 2.32— | 3.20AA Large |
| #DAA520 | 1.37— | 1.60— | Same color | 1.45— | 2.00— |
| #B8860B | 1.99— | 2.32— | 1.45— | Same color | 1.38— |
| #8B7355 | 2.75— | 3.20AA Large | 2.00— | 1.38— | Same color |
Shades
Shades and tints (50–950)
