#FFD700Gold is a mid-toned, vivid, fully saturated take on yellow. Colors in this range are commonly associated with optimism, caution and visibility, which makes gold a natural fit for highlights, warning states and youthful, energetic branding.
Gold is bright enough that it pairs better with dark text than white: black type on gold hits 14.97:1 — comfortably past the WCAG AA threshold — while white manages only 1.40:1. It shines as a section background, card fill or subtle highlight where a full-strength accent would shout.
For pairings, the complement of gold sits at 231° — #0026FF, close to blue — and delivers the strongest possible hue contrast; use it sparingly, in roughly a 90/10 split, so the two don't fight. For calmer schemes, the analogous colors 30° to either side keep the same warm temperature, while the triadic pair gives you a balanced three-color palette. All of these are computed for gold in the palettes below, with copy-ready codes.
Every palette below is computed from gold's position on the color wheel (hue 51°). Hover any swatch to see its code; click to copy.
Tints mix gold toward white; shades mix it toward black. Use the scale for hover states, borders and depth without leaving the hue.
WCAG 2.1 requires 4.5:1 for normal text (AA) and 3:1 for large text. Here's how gold performs, plus how it appears under the three main types of dichromatic color blindness (simulated approximation).
| Pairing | Ratio | Normal text | Large text |
|---|---|---|---|
| White text on Gold | 1.40:1 | Fail | Fail |
| Black text on Gold | 14.97:1 | AAA | AAA |
#EEED34#F0F340#FD5D66Copy-ready snippets. In CSS you can also use the keyword gold directly.
:root {
--gold: #FFD700;
--gold-rgb: 255, 215, 0;
--gold-tint: #FFE973;
--gold-shade: #8C7600;
}
.btn-gold {
background: var(--gold);
color: #000000;
}
// tailwind.config.js
colors: {
'gold': {
DEFAULT: '#FFD700',
light: '#FFE973',
dark: '#8C7600',
},
}
The closest CSS named colors by perceptual (Lab) distance.