Color codes
- HEX
- #ffd700
- RGB
- rgb(255, 215, 0)
- HSL
- hsl(51 100% 50%)
- CMYK
- cmyk(0% 16% 100% 0%)
- OKLCH
- oklch(88.7% 0.182 95)
CSS named color
rgb(255, 215, 0)
1.40:1 on white
Fails WCAG AA
14.97:1 on black
AAA for normal and large text
gold is written as #ffd700 in hex, rgb(255, 215, 0) in RGB and hsl(51 100% 50%) in HSL. Its lightness sits at 50%, which is why it reads fails wcag aa against white.
Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.