About #FFD700
#FFD700 is a medium, vivid amber with a hue angle of 51°. It belongs to the yellow family and reads as a warm color. In the RGB model red is the strongest channel at 255 (100%) and blue the weakest at 0 (0%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.
- It is the CSS named color gold, so you can write
color: goldinstead of the hex code.
Color conversions
| 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%) |
| CIELAB (D65) | lab(86.9 -1.9 87.1) |
| Decimal | 16766720 |
| Binary | 11111111 11010111 00000000 |
HEX FF D7 00 → 255, 215, 0 (each pair is a base-16 number: F×16 + F = 255)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #FFD700
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #FFD700 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 1.40:1 | Fail | Fail | Fail | Fail |
| Black text | 14.97:1 | Pass | Pass | Pass | Pass |
Relative luminance is 0.6986 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#f0d300
Deuteranopia#fadf24
Tritanopia#ffc4b7
Achromatopsia#dadada
People with red–green color blindness see this color almost unchanged (ΔE 3.5 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
CSS
.element {
color: #ffd700;
background-color: rgb(255, 215, 0);
border: 1px solid hsl(51, 100%, 50%);
box-shadow: 0 2px 8px rgb(255 215 0 / 50%);
}
:root { --brand: #ffd700; }