Gold to HSL — Color Code

#ffd700
Format Value
HEX #ffd700
RGB rgb(255, 215, 0)
HSL hsl(50.6, 100%, 50%)
CMYK cmyk(0%, 15.7%, 100%, 0%)
HSV hsv(50.6, 100%, 100%)

gold color harmonies

Tints & shades of gold

Tints (lighter)

#ffdb17 #ffde2e #ffe246 #ffe65d #ffe974 #ffed8b #fff0a2 #fff4b9 #fff8d1 #fffbe8

Shades (darker)

#e8c300 #d1b000 #b99c00 #a28900 #8b7500 #746200 #5d4e00 #463b00 #2e2700 #171400

Contrast & accessibility

The quick brown fox

On white · 1.4:1 · Fail

The quick brown fox

On black · 14.97:1 · AAA

Recommended text color: #000000

Use gold in code

CSS color: #ffd700;
SCSS $color: #ffd700;
Tailwind bg-[#ffd700]
Swift UIColor(red: 1.000, green: 0.843, blue: 0.000, alpha: 1)
Android Color.parseColor("#ffd700")
Flutter Color(0xFFFFD700)

Colors similar to gold

Browse all Yellow colors →

What is the HSL code for gold?

The CSS color gold in HSL format is hsl(50.6, 100%, 50%). Use this value directly in CSS, SVG, and most design tools.

How do I use gold in CSS?

To apply gold in CSS:

  • Text color: color: hsl(50.6, 100%, 50%);
  • Background: background-color: hsl(50.6, 100%, 50%);
  • Border: border-color: hsl(50.6, 100%, 50%);

What are all the color format values for gold?

FormatValue
HEX#ffd700
RGBrgb(255, 215, 0)
HSLhsl(50.6, 100%, 50%)
CMYKcmyk(0%, 15.7%, 100%, 0%)

How do I convert gold to HSL?

Select gold from the color name list in our color converter. The HSL value — hsl(50.6, 100%, 50%) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does gold belong to?

gold belongs to the yellow color family. It is a medium, vivid color with HSL values: hue 50.6°, saturation 100%, lightness 50%.

How do I create lighter and darker shades of gold?

Lighter variant (lightness 65%): #ffe34d. Darker variant (lightness 35%): #b39700. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HSL used for?

HSL describes colors by hue (0–360°), saturation (0–100%) and lightness (0–100%). It is more intuitive for designers — easy to create lighter, darker or less saturated variants of any color.