PreviewingGo to this paletteOpen in generator
Code
/* Black Gold — colorset.net */
:root {
--color-1: #000000;
--color-2: #FFD700;
--color-3: #4682B4;
--color-4: #FFFFFF;
--color-5: #32CD32;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #000000;
--color-muted: #4D4D4D;
--color-primary: #00A40B;
--color-on-primary: #000000;
--color-accent: #3D79AA;
--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: #32CD32;
--color-on-primary: #000000;
--color-accent: #3D79AA;
--color-on-accent: #000000;
}
}
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 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #32CD32 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4682B4 | adjusted for contrast · from #4682B4 |
| 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.32:1 | AA pass 4.5:1 | |
| Label on accent | 4.65:1 | AA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 4.65:1 | AA 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 | 9.91:1 | AAA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 9.91:1 | AAA pass 3:1 | |
| Accent on background | 4.51:1 | AA 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 | #000000 (Text 1) | #FFD700 (Text 2) | #4682B4 (Text 3) | #FFFFFF (Text 4) | #32CD32 (Text 5) |
|---|---|---|---|---|---|
| #000000 | Same color | 14.97AAA | 5.11AA | 21.00AAA | 9.91AAA |
| #FFD700 | 14.97AAA | Same color | 2.93— | 1.40— | 1.51— |
| #4682B4 | 5.11AA | 2.93— | Same color | 4.11AA Large | 1.94— |
| #FFFFFF | 21.00AAA | 1.40— | 4.11AA Large | Same color | 2.12— |
| #32CD32 | 9.91AAA | 1.51— | 1.94— | 2.12— | Same color |
Shades
Shades and tints (50–950)
