YELLOW

Gold

#FFD700
Conversions
HEX#FFD700
RGBrgb(255, 215, 0)
HSLhsl(51, 100%, 50%)
HSVhsv(51, 100%, 100%)
CMYKcmyk(0%, 16%, 100%, 0%)
Copy CSS
color: #ffd700; /* rgb */ color: rgb(255, 215, 0); /* hsl */ color: hsl(51, 100%, 50%);
Contrast
On whiteFail · 1.40 : 1
On ink blackPass · 13.64 : 1
Shades
Tints
Pairings

About Gold

Gold is the hex color #FFD700, which translates to rgb(255, 215, 0) in RGB and hsl(51, 100%, 50%) in HSL. On the color wheel it sits at 51 degrees, with a saturation of 100 percent and a lightness of 50 percent. That combination gives Gold a saturated mid tone: strong enough for buttons and links, still calm enough for larger areas.

How Gold compares

Gold is exactly the CSS keyword gold, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is yellow-300 (#FFDF20), at a distance of 4.8. Inside this library the closest neighbour is Citrine at 10.3. Sorted by lightness, Gold is number 4 of the 18 yellow colors here.

Text on Gold

2 of the five common text colors below clear WCAG AA for normal text on Gold, led by Ink black at 13.64:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Gold already loaded as the background.

Contrast of common text colors on Gold. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF1.40:1FailFailFail
Ink black #0F0F1213.64:1PassPassPass
Mid grey #6B72803.45:1FailPassFail
Dark grey #3741517.35:1PassPassPass
Light grey #E5E7EB1.13:1FailFailFail

Building a palette around Gold

The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Gold for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color.

Full values for Gold

FormatValue
HEX#FFD700
RGBrgb(255, 215, 0)
HSLhsl(51, 100%, 50%)
HSVhsv(51, 100%, 100%)
CMYKcmyk(0%, 16%, 100%, 0%)
OKLCHoklch(88.68% 0.1822 95.33)
CIELABlab(86.93 -1.92 87.13)

Use Gold in a tool

Nearby colors

Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.