Skip to content
Hex Color Picker

Gold Color

Gold is a bright yellow with a hint of orange. Its hex code is #FFD700, which is rgb(255, 215, 0) in RGB, hsl(51, 100%, 50%) in HSL and cmyk(0%, 16%, 100%, 0%) in CMYK. It is a standard named color in CSS, so you can write it as gold in a stylesheet.

#FFD700exactly gold

This is the CSS color gold #FFD700

Use 3 or 6 digits, for example #1E90FF or 19F

For example rgb(30, 144, 255) or 30 144 255

For example hsl(210, 100%, 56%)

For example cmyk(88%, 44%, 0%, 0%)

Recent colors

Colors you pick appear here. They stay on this device.

By the Hex Color Picker Team. Updated

Gold color codes

  • Hex: #FFD700
  • RGB: rgb(255, 215, 0)
  • HSL: hsl(51, 100%, 50%)
  • CMYK: cmyk(0%, 16%, 100%, 0%) (standard formula, not a print profile)
  • CSS name: gold

About the color gold

CSS gold is saturated yellow: red at full strength, green at about 84% and no blue. It stands for value and achievement, but on a screen it is a flat color, so it can't show the shine of real metal.

Where gold works

  • Badges, awards and highlights, used sparingly so they feel special.
  • Icons and accents on navy, purple or other dark backgrounds.
  • Metallic-looking buttons, by blending gold with a darker shade in a gradient.

Colors that go with gold

These named colors pair well with gold. Click one to see its page where it exists.

The complementary color of gold, directly opposite it on the color wheel, is #0028FF, closest to blue. The analogous neighbors are #FF5700 and #A8FF00, and the triadic partners are #00FFD7 and #D700FF. The color palette generator builds a full scheme from any of them.

Named colors nearest to gold are khaki, yellow, and palegoldenrod.

Shades and tints of gold

Keeping the hue and saturation of gold and stepping the lightness from light to dark gives this scale. Use the lighter values for backgrounds and the darker ones for text and borders.

  • #FFFBE5
  • #FFF2AC
  • #FFE973
  • #FFE039
  • #FFD700
  • #C6A700
  • #8C7600
  • #534600
  • #191500

Contrast and accessibility

White text on gold has a contrast ratio of 1.4:1, and black text has 15.0:1. The WCAG AA guideline asks for at least 4.5:1 for body text and 3:1 for large text. Black text passes on gold, and white text does not.

White text on gold is nearly unreadable, and gold text on white is too. Pair it with dark colors.

Common questions

What is the hex code for gold?

The hex code for gold is #FFD700. In RGB it is rgb(255, 215, 0) and in HSL it is hsl(51, 100%, 50%).

How do gold, goldenrod and yellow compare?

Yellow is pure and harsh. Gold is a touch warmer, and goldenrod is darker and browner. Gold sits between the other two.

Is white text readable on gold?

Not for body text. White on gold has a contrast ratio of 1.4:1, below the 4.5:1 WCAG AA guideline. Black text has a ratio of 15.0:1, which passes.

More named colors

More color tools