PreviewingGo to this paletteOpen in generator
Code
/* Brass Metal — colorset.net */
:root {
--color-1: #996600;
--color-2: #B37F1A;
--color-3: #CC9933;
--color-4: #E6B34D;
--color-5: #FFCC66;
--color-bg: #FDF6E8;
--color-surface: #F4EDDF;
--color-border: #DDD4C3;
--color-text: #6D4702;
--color-muted: #7A6952;
--color-primary: #B37F1A;
--color-on-primary: #000000;
--color-accent: #986E00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180D00;
--color-surface: #231706;
--color-border: #3A2B16;
--color-text: #E5D2B0;
--color-muted: #8E8067;
--color-primary: #B37F1A;
--color-on-primary: #180D00;
--color-accent: #FFCC66;
--color-on-accent: #180D00;
}
}
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 #FFCC66 | adjusted for contrast · from #996600 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #996600 | adjusted for contrast · from #FFCC66 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #996600 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.65:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 5.97:1 | AA pass 4.5:1 | |
| Label on accent | 4.60:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 4.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.93:1 | AAA pass 4.5:1 | |
| Text on surface | 11.85:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 5.44:1 | AA pass 4.5:1 | |
| Label on accent | 12.84:1 | AAA pass 4.5:1 | |
| Primary on background | 5.44:1 | AA pass 3:1 | |
| Accent on background | 12.84: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 | #996600 (Text 1) | #B37F1A (Text 2) | #CC9933 (Text 3) | #E6B34D (Text 4) | #FFCC66 (Text 5) |
|---|---|---|---|---|---|
| #996600 | Same color | 1.40— | 1.92— | 2.57— | 3.31AA Large |
| #B37F1A | 1.40— | Same color | 1.37— | 1.83— | 2.36— |
| #CC9933 | 1.92— | 1.37— | Same color | 1.34— | 1.72— |
| #E6B34D | 2.57— | 1.83— | 1.34— | Same color | 1.29— |
| #FFCC66 | 3.31AA Large | 2.36— | 1.72— | 1.29— | Same color |
Shades
Shades and tints (50–950)
