PreviewingGo to this paletteOpen in generator
Code
/* Old Gold Leaf — colorset.net */
:root {
--color-1: #B8860B;
--color-2: #C2901B;
--color-3: #CC9A2B;
--color-4: #D6A43B;
--color-5: #E0AE4B;
--color-bg: #FEF6E8;
--color-surface: #F4ECDF;
--color-border: #DDD4C3;
--color-text: #654800;
--color-muted: #766850;
--color-primary: #B18000;
--color-on-primary: #000000;
--color-accent: #996F00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170E00;
--color-surface: #221805;
--color-border: #382C15;
--color-text: #C7B493;
--color-muted: #908269;
--color-primary: #B8860B;
--color-on-primary: #170E00;
--color-accent: #E0AE4B;
--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 | adjusted for contrast · from #E0AE4B | adjusted for contrast · from #B8860B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B8860B | adjusted for contrast · from #E0AE4B |
| 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 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.96:1 | AA pass 4.5:1 | |
| Label on accent | 4.54:1 | AA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 4.23:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.44:1 | AAA pass 4.5:1 | |
| Text on surface | 8.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 5.87:1 | AA pass 4.5:1 | |
| Label on accent | 9.39:1 | AAA pass 4.5:1 | |
| Primary on background | 5.87:1 | AA pass 3:1 | |
| Accent on background | 9.39: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) | #C2901B (Text 2) | #CC9A2B (Text 3) | #D6A43B (Text 4) | #E0AE4B (Text 5) |
|---|---|---|---|---|---|
| #B8860B | Same color | 1.13— | 1.27— | 1.43— | 1.60— |
| #C2901B | 1.13— | Same color | 1.13— | 1.26— | 1.41— |
| #CC9A2B | 1.27— | 1.13— | Same color | 1.12— | 1.26— |
| #D6A43B | 1.43— | 1.26— | 1.12— | Same color | 1.12— |
| #E0AE4B | 1.60— | 1.41— | 1.26— | 1.12— | Same color |
Shades
Shades and tints (50–950)
