CSS Named Color
Copy-ready color values
HEX
#FFD700RGB
rgb(255, 215, 0)HSL
hsl(51, 100%, 50%)HSV
hsv(51, 100%, 100%)CMYK approx.
cmyk(0, 16, 100, 0)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #FFD700 | |
| RGB | rgb(255, 215, 0) | |
| HSL | hsl(51, 100%, 50%) | |
| HSV | hsv(51, 100%, 100%) | |
| CMYK approx. | cmyk(0, 16, 100, 0) | |
| CSS keyword | gold |
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#3D5CFFAnalogous
#FAD71F#FFBD1ATriadic
#D700FF#00FFD7Split complementary
#2E4FFF#0021D1Using 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"