PreviewingGo to this paletteOpen in generator
Code
/* Shadow Gold — colorset.net */
:root {
--color-1: #2F2F2F;
--color-2: #404040;
--color-3: #FFD700;
--color-4: #FFFFFF;
--color-5: #000000;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #000000;
--color-muted: #4D4D4D;
--color-primary: #A78C00;
--color-on-primary: #000000;
--color-accent: #2F2F2F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #000000;
--color-surface: #000000;
--color-border: #090707;
--color-text: #FFFFFF;
--color-muted: #7A7A7A;
--color-primary: #FFD700;
--color-on-primary: #000000;
--color-accent: #5B5B5B;
--color-on-accent: #FFFFFF;
}
}
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 4 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFD700 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #404040 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 21.00:1 | AAA pass 4.5:1 | |
| Text on surface | 19.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 8.45:1 | AAA pass 4.5:1 | |
| Label on primary | 6.39:1 | AA pass 4.5:1 | |
| Label on accent | 13.39:1 | AAA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 13.39:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 21.00:1 | AAA pass 4.5:1 | |
| Text on surface | 21.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 14.97:1 | AAA pass 4.5:1 | |
| Label on accent | 6.79:1 | AA pass 4.5:1 | |
| Primary on background | 14.97:1 | AAA pass 3:1 | |
| Accent on background | 3.09:1 | AA Large 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 | #2F2F2F (Text 1) | #404040 (Text 2) | #FFD700 (Text 3) | #FFFFFF (Text 4) | #000000 (Text 5) |
|---|---|---|---|---|---|
| #2F2F2F | Same color | 1.29— | 9.55AAA | 13.39AAA | 1.57— |
| #404040 | 1.29— | Same color | 7.39AAA | 10.37AAA | 2.03— |
| #FFD700 | 9.55AAA | 7.39AAA | Same color | 1.40— | 14.97AAA |
| #FFFFFF | 13.39AAA | 10.37AAA | 1.40— | Same color | 21.00AAA |
| #000000 | 1.57— | 2.03— | 14.97AAA | 21.00AAA | Same color |
Shades
Shades and tints (50–950)
