PreviewingGo to this paletteOpen in generator
Code
/* Antique Gold — colorset.net */
:root {
--color-1: #B8860B;
--color-2: #DAA520;
--color-3: #FFD700;
--color-4: #FFEC8C;
--color-5: #FFF8DC;
--color-bg: #FFF8DC;
--color-surface: #F6EFD3;
--color-border: #DDD6B9;
--color-text: #694A00;
--color-muted: #786A52;
--color-primary: #B18000;
--color-on-primary: #000000;
--color-accent: #8F896F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170E00;
--color-surface: #221805;
--color-border: #382C15;
--color-text: #FFF8DC;
--color-muted: #928C72;
--color-primary: #B8860B;
--color-on-primary: #170E00;
--color-accent: #FFEC8C;
--color-on-accent: #170E00;
}
}
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 5 | adjusted for contrast · from #B8860B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B8860B | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B8860B | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B8860B | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.96:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 3.31:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.93:1 | AAA pass 4.5:1 | |
| Text on surface | 16.42:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.66:1 | AA pass 4.5:1 | |
| Label on primary | 5.87:1 | AA pass 4.5:1 | |
| Label on accent | 16.04:1 | AAA pass 4.5:1 | |
| Primary on background | 5.87:1 | AA pass 3:1 | |
| Accent on background | 16.04: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 | #B8860B (Text 1) | #DAA520 (Text 2) | #FFD700 (Text 3) | #FFEC8C (Text 4) | #FFF8DC (Text 5) |
|---|---|---|---|---|---|
| #B8860B | Same color | 1.45— | 2.32— | 2.73— | 3.05AA Large |
| #DAA520 | 1.45— | Same color | 1.60— | 1.88— | 2.10— |
| #FFD700 | 2.32— | 1.60— | Same color | 1.18— | 1.32— |
| #FFEC8C | 2.73— | 1.88— | 1.18— | Same color | 1.12— |
| #FFF8DC | 3.05AA Large | 2.10— | 1.32— | 1.12— | Same color |
Shades
Shades and tints (50–950)
