PreviewingGo to this paletteOpen in generator
Code
/* Golden Glow — colorset.net */
:root {
--color-1: #FFFF80;
--color-2: #FFFF40;
--color-3: #FFFF00;
--color-4: #FFE066;
--color-5: #FFEC8C;
--color-bg: #F7F8E9;
--color-surface: #EEEFE0;
--color-border: #D6D7C4;
--color-text: #5F4E00;
--color-muted: #726C51;
--color-primary: #797900;
--color-on-primary: #FFFFFF;
--color-accent: #A28700;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140F00;
--color-surface: #1E1905;
--color-border: #342E15;
--color-text: #F9FAD4;
--color-muted: #8D8E72;
--color-primary: #FFFF00;
--color-on-primary: #140F00;
--color-accent: #FFE066;
--color-on-accent: #140F00;
}
}
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 #FFEC8C | adjusted for contrast · from #FFE066 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFE066 | adjusted for contrast · from #FFEC8C |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFE066 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFE066 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.59:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 6.00:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.90:1 | AAA pass 4.5:1 | |
| Text on surface | 16.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.69:1 | AA pass 4.5:1 | |
| Label on primary | 17.81:1 | AAA pass 4.5:1 | |
| Label on accent | 14.67:1 | AAA pass 4.5:1 | |
| Primary on background | 17.81:1 | AAA pass 3:1 | |
| Accent on background | 14.67: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 | #FFFF80 (Text 1) | #FFFF40 (Text 2) | #FFFF00 (Text 3) | #FFE066 (Text 4) | #FFEC8C (Text 5) |
|---|---|---|---|---|---|
| #FFFF80 | Same color | 1.01— | 1.02— | 1.23— | 1.13— |
| #FFFF40 | 1.01— | Same color | 1.00— | 1.22— | 1.11— |
| #FFFF00 | 1.02— | 1.00— | Same color | 1.21— | 1.11— |
| #FFE066 | 1.23— | 1.22— | 1.21— | Same color | 1.09— |
| #FFEC8C | 1.13— | 1.11— | 1.11— | 1.09— | Same color |
Shades
Shades and tints (50–950)
