#FFD700
CSS name: gold
#FFD700 — gold
This is the CSS color "gold", shown full width above. Everything below is arithmetic on the value itself.
- HEX
- #FFD700
- RGB
- 255, 215, 0
- HSL
- 51, 100%, 50%
- Closest CSS name
- gold (exact)
- Contrast with white
- 1.40:1
- Contrast with black
- 14.97:1
Reading the contrast figures
Those two ratios are WCAG 2.1 contrast, measured between this color and plain white or plain black. They are the numbers that decide whether text of that color would be readable on this background: 4.5:1 is the threshold for normal text under success criterion 1.4.3, and 3:1 for large text. A ratio is one fact about a pair of colors, not a verdict on whether a design is accessible.
Other colors
20 colors have pages like this one: the values this site uses in its own tools, and four common named colors. The Color Picker shows any other shade full screen and puts it in the address, so you can share it without a page ever being created for it. The Color Converter writes a value three ways, and the Contrast Checker measures any pair rather than only black and white.