In the RGB color space, #CCCC00 is composed of 80% red, 80% green, and 0% blue.
In the CMYK color space, #CCCC00 is composed of 0% cyan, 0% magenta, 100% yellow, and 20.0% black,
It has a hue angle of 60 degrees, a saturation of 100%, and a lightness of 40%.
This is a websafe color.
The hexadecimal color #CCCC00 has RGB values of R:204, G:204, B:0 and CMYK values of C:0, M:0, Y:100, K:20. It has a decimal value of 13421568.
Hexadecimal | #CCCC00 | #CCCC00 |
RGB Decimal | 204, 204, 0 | rgb(204, 204, 0) |
RGB Percent | 80, 80, 0 | rgb(80%, 80%, 0%) |
RGB Proportion | 0.8, 0.8, 0.0 | rgb(0.8, 0.8, 0.0) |
CMYK | 0, 0, 100, 20 | |
HSL | 60ยบ, 100, 40 | hsl(60, 100%, 40%) |
Websafe | CCCC00 | #CCCC00 |
XYZ | 46.495, 56.023, 8.363 | |
Yxy | 56.023, 0.419, 0.505 | |
CIE-LAB | 79.627, -18.218, 79.859 | |
CIE-LCH | 79.627, 81.911, 102.851 | |
CIE-LUV | 79.627, 6.316, 87.538 | |
Hunter-Lab | 74.849, -20.103, 45.769 |
Colors that go well with #CCCC00.
Common HTML and CSS shortcodes for #CCCC00.
<div style="color: #CCCC00;">The quick brown fox jumps over the lazy dog.</div>
<div style="background-color: #CCCC00;">The quick brown fox jumps over the lazy dog.</div>
<div style="border: 1px solid #CCCC00;">The quick brown fox jumps over the lazy dog.</div>
Linear gradient from #CCCC00 to transparent.
<div style="background: linear-gradient(#CCCC00, rgba(255, 255, 255, 0));">The quick brown fox jumps over the lazy dog.</div>
Radial gradient from #CCCC00 to transparent.
<div style="background: radial-gradient(#CCCC00, rgba(255, 255, 255, 0));">The quick brown fox jumps over the lazy dog.</div>
Linear gradient from #CCCC00 to #3333FF.
<div style="background: linear-gradient(#CCCC00, #3333FF);">The quick brown fox jumps over the lazy dog.</div>
Radial gradient from #CCCC00 to #3333FF.
<div style="background: radial-gradient(#CCCC00, #3333FF);">The quick brown fox jumps over the lazy dog.</div>
Handy CSS code and shortcuts.
.text { color: #CCCC00; }
.background { background-color: #CCCC00; }
.border { border: 1px solid #CCCC00; }
.linear-gradient { background: linear-gradient(#faf310, rgba(255, 255, 255, 0)); }
.radial-gradient { background: radial-gradient(#faf310, rgba(255, 255, 255, 0)); }
Shades are created by adding black to the color, while a tint is created by mixing white. The darkest shade in this example is #040400 while the lightest tint is #FEFEFA.