PreviewingGo to this paletteOpen in generator
Code
/* Antique Brass — colorset.net */
:root {
--color-1: #B08D57;
--color-2: #8B7355;
--color-3: #A0522D;
--color-4: #CD853F;
--color-5: #DEB887;
--color-bg: #FFF5E8;
--color-surface: #F6ECDF;
--color-border: #DFD3C3;
--color-text: #7A3F24;
--color-muted: #81665A;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #A48051;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0A04;
--color-surface: #27140B;
--color-border: #3F271D;
--color-text: #D3BB9C;
--color-muted: #927F68;
--color-primary: #A0522D;
--color-on-primary: #FFFFFF;
--color-accent: #B08D57;
--color-on-accent: #1C0A04;
}
}
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 #DEB887 | adjusted for contrast · from #A0522D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A0522D | adjusted for contrast · from #DEB887 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B08D57 | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.60:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.78:1 | AA pass 4.5:1 | |
| Primary on background | 5.21:1 | AA pass 3:1 | |
| Accent on background | 3.37:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.38:1 | AAA pass 4.5:1 | |
| Text on surface | 9.54:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 6.21:1 | AA pass 4.5:1 | |
| Primary on background | 3.42:1 | AA Large pass 3:1 | |
| Accent on background | 6.21:1 | AA 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 | #B08D57 (Text 1) | #8B7355 (Text 2) | #A0522D (Text 3) | #CD853F (Text 4) | #DEB887 (Text 5) |
|---|---|---|---|---|---|
| #B08D57 | Same color | 1.45— | 1.82— | 1.03— | 1.67— |
| #8B7355 | 1.45— | Same color | 1.25— | 1.50— | 2.42— |
| #A0522D | 1.82— | 1.25— | Same color | 1.88— | 3.02AA Large |
| #CD853F | 1.03— | 1.50— | 1.88— | Same color | 1.61— |
| #DEB887 | 1.67— | 2.42— | 3.02AA Large | 1.61— | Same color |
Shades
Shades and tints (50–950)
