Gold Color
HEX #FFD700 · rgb(255, 215, 0) · hsl(51, 100%, 50%)
Gold color codes
Gold is one of the named colors every browser understands. In CSS you can write it as gold or #FFD700.
| Format | Value | |
|---|---|---|
| HEX | #FFD700 | |
| RGB | rgb(255, 215, 0) | |
| HSL | hsl(51, 100%, 50%) | |
| CMYK | 0%, 16%, 100%, 0% | |
| CSS name | gold |
.example {
color: gold;
background-color: #FFD700;
border-color: rgb(255, 215, 0);
}
Colors that go with gold
These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.
Tints and shades of gold
Tints mix the color with white; shades mix it with black.
Gold
Contrast and readability
14.97:1
passes AA and AAA
1.40:1
fails
Use black text on gold. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.
Frequently asked questions
What is the hex code for gold?
The hex code for gold is #FFD700.
What is the RGB value of gold?
Gold is rgb(255, 215, 0): 255 red, 215 green and 0 blue on a 0 to 255 scale.
What color goes with gold?
Its complementary color is #0028FF, which is closest to the named color blue. Analogous and triadic matches are listed on this page.
Should text on gold be black or white?
Use black text. The contrast ratio is 14.97:1 with black and 1.40:1 with white. WCAG AA asks for at least 4.5:1 for normal text.
Similar named colors
Pick any other color with the color picker, or browse all named colors.