PreviewingGo to this paletteOpen in generator
Code
/* Bronze Yellow — colorset.net */
:root {
--color-1: #B87333;
--color-2: #CD7F32;
--color-3: #FFFF00;
--color-4: #FFE135;
--color-5: #FFC947;
--color-bg: #F7F8E9;
--color-surface: #EEEFE0;
--color-border: #D5D7C4;
--color-text: #724211;
--color-muted: #7D6654;
--color-primary: #AF6406;
--color-on-primary: #FFFFFF;
--color-accent: #797900;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0B01;
--color-surface: #251508;
--color-border: #3D2919;
--color-text: #F6F8D2;
--color-muted: #8B8C71;
--color-primary: #CD7F32;
--color-on-primary: #1A0B01;
--color-accent: #FFFF00;
--color-on-accent: #1A0B01;
}
}
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 #FFE135 | adjusted for contrast · from #B87333 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B87333 | adjusted for contrast · from #FFE135 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B87333 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B87333 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 4.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.65:1 | AAA pass 4.5:1 | |
| Text on surface | 16.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.57:1 | AA pass 4.5:1 | |
| Label on primary | 6.11:1 | AA pass 4.5:1 | |
| Label on accent | 17.90:1 | AAA pass 4.5:1 | |
| Primary on background | 6.11:1 | AA pass 3:1 | |
| Accent on background | 17.90: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 | #B87333 (Text 1) | #CD7F32 (Text 2) | #FFFF00 (Text 3) | #FFE135 (Text 4) | #FFC947 (Text 5) |
|---|---|---|---|---|---|
| #B87333 | Same color | 1.21— | 3.53AA Large | 2.90— | 2.47— |
| #CD7F32 | 1.21— | Same color | 2.93— | 2.41— | 2.05— |
| #FFFF00 | 3.53AA Large | 2.93— | Same color | 1.22— | 1.43— |
| #FFE135 | 2.90— | 2.41— | 1.22— | Same color | 1.17— |
| #FFC947 | 2.47— | 2.05— | 1.43— | 1.17— | Same color |
Shades
Shades and tints (50–950)
