PreviewingGo to this paletteOpen in generator
Code
/* Gold Light — colorset.net */
:root {
--color-1: #CCAA44;
--color-2: #DDBB55;
--color-3: #EECC66;
--color-4: #FFDD77;
--color-5: #FFEE88;
--color-bg: #FAF7E8;
--color-surface: #F0EEDF;
--color-border: #D8D6C3;
--color-text: #5F4A00;
--color-muted: #72694F;
--color-primary: #917300;
--color-on-primary: #FFFFFF;
--color-accent: #584500;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150E00;
--color-surface: #201905;
--color-border: #352D15;
--color-text: #F3EDC7;
--color-muted: #8B866B;
--color-primary: #CCAA44;
--color-on-primary: #150E00;
--color-accent: #FFEE88;
--color-on-accent: #150E00;
}
}
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 #FFEE88 | adjusted for contrast · from #CCAA44 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #CCAA44 | adjusted for contrast · from #FFEE88 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #CCAA44 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CCAA44 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.92:1 | AAA pass 4.5:1 | |
| Text on surface | 7.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 9.27:1 | AAA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 8.62:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.21:1 | AAA pass 4.5:1 | |
| Text on surface | 14.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.23:1 | AA pass 4.5:1 | |
| Label on primary | 8.59:1 | AAA pass 4.5:1 | |
| Label on accent | 16.29:1 | AAA pass 4.5:1 | |
| Primary on background | 8.59:1 | AAA pass 3:1 | |
| Accent on background | 16.29: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 | #CCAA44 (Text 1) | #DDBB55 (Text 2) | #EECC66 (Text 3) | #FFDD77 (Text 4) | #FFEE88 (Text 5) |
|---|---|---|---|---|---|
| #CCAA44 | Same color | 1.20— | 1.43— | 1.69— | 1.90— |
| #DDBB55 | 1.20— | Same color | 1.19— | 1.40— | 1.58— |
| #EECC66 | 1.43— | 1.19— | Same color | 1.18— | 1.32— |
| #FFDD77 | 1.69— | 1.40— | 1.18— | Same color | 1.12— |
| #FFEE88 | 1.90— | 1.58— | 1.32— | 1.12— | Same color |
Shades
Shades and tints (50–950)
