PreviewingGo to this paletteOpen in generator
Code
/* Brass Section — colorset.net */
:root {
--color-1: #FEFAEF;
--color-2: #F0C543;
--color-3: #953C41;
--color-4: #B29722;
--color-5: #292407;
--color-bg: #FEFAEF;
--color-surface: #F5F1E6;
--color-border: #DDD8CA;
--color-text: #292407;
--color-muted: #726E53;
--color-primary: #A28800;
--color-on-primary: #000000;
--color-accent: #953C41;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #292407;
--color-surface: #342F13;
--color-border: #4A452C;
--color-text: #FEFAEF;
--color-muted: #9C988E;
--color-primary: #B29722;
--color-on-primary: #292407;
--color-accent: #B95D60;
--color-on-accent: #000000;
}
}
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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B29722 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #953C41 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.92:1 | AAA pass 4.5:1 | |
| Text on surface | 13.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 6.06:1 | AA pass 4.5:1 | |
| Label on accent | 7.00:1 | AAA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 6.71:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.92:1 | AAA pass 4.5:1 | |
| Text on surface | 12.89:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.41:1 | AA pass 4.5:1 | |
| Label on primary | 5.44:1 | AA pass 4.5:1 | |
| Label on accent | 4.80:1 | AA pass 4.5:1 | |
| Primary on background | 5.44:1 | AA pass 3:1 | |
| Accent on background | 3.55:1 | AA Large 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 | #FEFAEF (Text 1) | #F0C543 (Text 2) | #953C41 (Text 3) | #B29722 (Text 4) | #292407 (Text 5) |
|---|---|---|---|---|---|
| #FEFAEF | Same color | 1.58— | 6.71AA | 2.74— | 14.92AAA |
| #F0C543 | 1.58— | Same color | 4.26AA Large | 1.74— | 9.46AAA |
| #953C41 | 6.71AA | 4.26AA Large | Same color | 2.45— | 2.22— |
| #B29722 | 2.74— | 1.74— | 2.45— | Same color | 5.44AA |
| #292407 | 14.92AAA | 9.46AAA | 2.22— | 5.44AA | Same color |
Shades
Shades and tints (50–950)
