Web Safe Color
Copy-ready color values
HEX
#CCCC00RGB
rgb(204, 204, 0)HSL
hsl(60, 100%, 40%)HSV
hsv(60, 100%, 80%)CMYK approx.
cmyk(0, 0, 100, 20)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #CCCC00 | |
| RGB | rgb(204, 204, 0) | |
| HSL | hsl(60, 100%, 40%) | |
| HSV | hsv(60, 100%, 80%) | |
| CMYK approx. | cmyk(0, 0, 100, 20) | |
| CSS keyword | cccc00 |
Contrast and classification
DarkLightness1.72:1Contrast with white12.20:1Contrast with blackRed / OrangeColor family
Shade and tint preview
White 10%#D1D11A
White 30%#DBDB4D
White 70%#F0F0B3
White 90%#FAFAE6
Black 10%#B8B800
Black 30%#8F8F00
Black 70%#3D3D00
Black 90%#141400
Harmony palettes
Complementary
#3333FF#6464FFAnalogous
#CCCC18#CCB418Triadic
#CC00CC#00CCCCSplit complementary
#5858FF#2A2AD1Using Cccc00
Cccc00 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-cccc00: #cccc00;
}
.button-primary {
background: var(--color-cccc00);
color: #000000;
}
$cccc00: #cccc00;
// Tailwind arbitrary value
class="bg-[#cccc00] text-white"