#FFD700 color (gold)

#FFD700 is rgb(255, 215, 0) in RGB and hsl(51, 100%, 50%) in HSL. It is exactly the CSS color gold. Use black text on it (contrast 14.97:1).

#FFD700gold
HEX#FFD700
RGBrgb(255, 215, 0)
RGB percentrgb(100%, 84.3%, 0%)
HSLhsl(51, 100%, 50%)
HSV / HSBhsv(51, 100%, 100%)
CMYKcmyk(0%, 16%, 100%, 0%)
CIELAB (D65)lab(86.9 -1.9 87.1)

Edit in the color converter → · Check contrast → · Shades →

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.

Color conversions

HEX#FFD700
RGBrgb(255, 215, 0)
RGB percentrgb(100%, 84.3%, 0%)
HSLhsl(51, 100%, 50%)
HSV / HSBhsv(51, 100%, 100%)
CMYKcmyk(0%, 16%, 100%, 0%)
CIELAB (D65)lab(86.9 -1.9 87.1)
Decimal16766720
Binary11111111 11010111 00000000

HEX FF D7 00 → 255, 215, 0 (each pair is a base-16 number: F×16 + F = 255)

Color harmonies

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 #FFD700RatioAA normalAA largeAAA normalAAA large
White text1.40:1FailFailFailFail
Black text14.97:1PassPassPassPass
White text on #FFD700
Black text on #FFD700
#FFD700 text on white
#FFD700 text on black

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

NameHEXΔE 2000
gold#ffd7000
yellow#ffff0011.6
khaki#f0e68c12.5
goldenrod#daa52013.7

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; }

Frequently asked questions

What color is #FFD700?
A medium vivid amber in the yellow family. Closest CSS name: gold.
What is #FFD700 in RGB?
rgb(255, 215, 0): red 255, green 215, blue 0.
What is the complementary color of #FFD700?
#0028FF, found by rotating the hue 180°.