Web Safe Color
Copy-ready color values
HEX
#FFCC00RGB
rgb(255, 204, 0)HSL
hsl(48, 100%, 50%)HSV
hsv(48, 100%, 100%)CMYK approx.
cmyk(0, 20, 100, 0)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #FFCC00 | |
| RGB | rgb(255, 204, 0) | |
| HSL | hsl(48, 100%, 50%) | |
| HSV | hsv(48, 100%, 100%) | |
| CMYK approx. | cmyk(0, 20, 100, 0) | |
| CSS keyword | ffcc00 |
Contrast and classification
DarkLightness1.51:1Contrast with white13.89:1Contrast with blackRed / OrangeColor family
Shade and tint preview
White 10%#FFD11A
White 30%#FFDB4D
White 70%#FFF0B3
White 90%#FFFAE6
Black 10%#E6B800
Black 30%#B38F00
Black 70%#4D3D00
Black 90%#1A1400
Harmony palettes
Complementary
#0033FF#3D64FFAnalogous
#F9CC1F#FFB418Triadic
#CC00FF#00FFCCSplit complementary
#2E58FF#002AD1Using Ffcc00
Ffcc00 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-ffcc00: #ffcc00;
}
.button-primary {
background: var(--color-ffcc00);
color: #000000;
}
$ffcc00: #ffcc00;
// Tailwind arbitrary value
class="bg-[#ffcc00] text-white"