Gold color — #FFD700
Gold is a CSS named color with the HEX code #FFD700, RGB value rgb(255, 215, 0) and HSL value hsl(51, 100%, 50%).
Yellow
Gold
#FFD700
Color codes
- HEX
- #FFD700
- RGB
- rgb(255, 215, 0)
- HSL
- hsl(51, 100%, 50%)
- HSV
- hsv(51, 100%, 100%)
- CMYK
- cmyk(0%, 16%, 100%, 0%)
- OKLCH
- oklch(88.68% 0.1822 95.33)
CSS usage
In CSS you can use the keyword or any equivalent value:
.element {
color: gold;
background-color: #ffd700;
border-color: rgb(255, 215, 0);
outline-color: hsl(51, 100%, 50%);
}Shades
Tints
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Contrast ratio
Contrast ratio against white and black text, per WCAG 2.2.
Gold — On white1.40:1 · Fail
Gold — On black14.97:1 · AAA