Gold color: hex code #FFD700
Gold has the hex code #FFD700. It is a vivid yellow.
In the RGB color model it is made of 100% red, 84.3% green and 0% blue (255, 215, 0).
Its hue angle is 51°, with 100% saturation and 50% lightness. For print, the CMYK equivalent is 0% cyan, 16% magenta, 100% yellow and 0% black.
You can use it in CSS with the keyword gold.
Black text is the more readable choice on this background (contrast 14.97:1).
Gold (#FFD700) color codes
| HEX | #FFD700 | |
|---|---|---|
| RGB | rgb(255, 215, 0) | |
| RGB percent | rgb(100%, 84.3%, 0%) | |
| HSL | hsl(51, 100%, 50%) | |
| HSV / HSB | hsv(51, 100%, 100%) | |
| CMYK | cmyk(0%, 16%, 100%, 0%) | |
| CIE LAB | lab(86.93, -1.92, 87.13) | |
| CIE LCH | lch(86.93, 87.15, 91.26) | |
| CIE XYZ | xyz(65.544, 69.865, 10.033) | |
| Decimal | 16766720 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Gold, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #FFD700 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.97:1 | Pass | Pass | Pass |
| Sample text | 1.4:1 | Fail | Fail | Fail |
| #FFD700 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 14.97:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #FFD700 looks to people with the most common types of color vision deficiency.
#f0d300Protanopia
no red cones#fadf24Deuteranopia
no green cones#ffc4b7Tritanopia
no blue cones#dadadaAchromatopsia
no color vision
CSS examples
.background { background-color: #ffd700; }
.text { color: #ffd700; }
.border { border: 2px solid #ffd700; }
.transparent { background-color: rgb(255 215 0 / 50%); }
.gradient { background: linear-gradient(to right, #ffd700, #a7ff00); }
Similar colors
#ffd800School Bus#ffd900Soviet Gold#ffd400Cyber Yellow#fcd917Candlelight#ffd300Yellow Tang#ffd301Inca Yellow#ffda29Vibrant Yellow#f8d106Wu-Tang Gold
See #FFD700 on its hex code page
Questions
- What color is #FFD700?
- #FFD700 is a vivid yellow known as Gold. It belongs to the yellow family of colors.
- What is the RGB value of Gold?
- The RGB value is 255, 215, 0: 255 red, 215 green and 0 blue on a 0 to 255 scale.
- What is the complementary color of Gold?
- The complementary color is #0028FF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #FFD700?
- Black text. Black text has a contrast ratio of 14.97:1 and white text 1.4:1. WCAG asks for at least 4.5:1 for normal text.