PreviewingGo to this paletteOpen in generator
Code
/* Gold Gray — colorset.net */
:root {
--color-1: #FFD700;
--color-2: #FFFF00;
--color-3: #2F4F4F;
--color-4: #FFA500;
--color-5: #696969;
--color-bg: #F7F8E9;
--color-surface: #EEEFE0;
--color-border: #D5D7C4;
--color-text: #2F4F4F;
--color-muted: #507171;
--color-primary: #A56900;
--color-on-primary: #FFFFFF;
--color-accent: #797900;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071111;
--color-surface: #111C1C;
--color-border: #223131;
--color-text: #F6F8D2;
--color-muted: #8B8C71;
--color-primary: #FFA500;
--color-on-primary: #071111;
--color-accent: #FFFF00;
--color-on-accent: #071111;
}
}
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 #FFD700 | adjusted for contrast · from #2F4F4F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 3 | adjusted for contrast · from #FFD700 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #696969 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #696969 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.32:1 | AAA pass 4.5:1 | |
| Text on surface | 7.68:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 4.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.57:1 | AAA pass 4.5:1 | |
| Text on surface | 15.97:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.55:1 | AA pass 4.5:1 | |
| Label on primary | 9.69:1 | AAA pass 4.5:1 | |
| Label on accent | 17.82:1 | AAA pass 4.5:1 | |
| Primary on background | 9.69:1 | AAA pass 3:1 | |
| Accent on background | 17.82: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 | #FFD700 (Text 1) | #FFFF00 (Text 2) | #2F4F4F (Text 3) | #FFA500 (Text 4) | #696969 (Text 5) |
|---|---|---|---|---|---|
| #FFD700 | Same color | 1.31— | 6.37AA | 1.41— | 3.91AA Large |
| #FFFF00 | 1.31— | Same color | 8.31AAA | 1.84— | 5.11AA |
| #2F4F4F | 6.37AA | 8.31AAA | Same color | 4.52AA | 1.63— |
| #FFA500 | 1.41— | 1.84— | 4.52AA | Same color | 2.78— |
| #696969 | 3.91AA Large | 5.11AA | 1.63— | 2.78— | Same color |
Shades
Shades and tints (50–950)
