CSS Named Color

Copy-ready color values

HEX#FFD700
RGBrgb(255, 215, 0)
HSLhsl(51, 100%, 50%)
HSVhsv(51, 100%, 100%)
CMYK approx.cmyk(0, 16, 100, 0)

Color value table

FormatValueCopy
HEX#FFD700
RGBrgb(255, 215, 0)
HSLhsl(51, 100%, 50%)
HSVhsv(51, 100%, 100%)
CMYK approx.cmyk(0, 16, 100, 0)
CSS keywordgold

Contrast and classification

DarkLightness1.40:1Contrast with white14.97:1Contrast with blackRed / OrangeColor family

Shade and tint preview

White 10%
#FFDB1A

White 30%
#FFE34D

White 70%
#FFF3B3

White 90%
#FFFBE6

Black 10%
#E6C200

Black 30%
#B39700

Black 70%
#4D4100

Black 90%
#1A1600

Harmony palettes

Complementary

#0028FF
#3D5CFF

Analogous

#FAD71F
#FFBD1A

Triadic

#D700FF
#00FFD7

Split complementary

#2E4FFF
#0021D1

Using Gold

Gold works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.

CSS, SCSS, and Tailwind examples

:root {
  --color-gold: #ffd700;
}

.button-primary {
  background: var(--color-gold);
  color: #000000;
}

$gold: #ffd700;

// Tailwind arbitrary value
class="bg-[#ffd700] text-white"