In RGB color space, #ccb42f hex color has a red value of 204, a green value of 180 and a blue value of 47.
In CMYK color space (used in color printing), #ccb42f hex color is composed of 0% cyan, 11.76% magenta, 76.96% yellow and 20% black.
#ccb42f color has a hue of 50.8 degrees, a saturation of 62.55% and a lightness of 49.2%.
#ccb42f hex color contains mainly RED.
The closest web safe color of #ccb42f is #cccc33
#ccb42f hex color has a decimal value of 13415471.
HEX | ccb42f | #ccb42f |
---|---|---|
RGB | 204, 180, 47 | rgb(204, 180, 47) |
RGB Percent | 80, 70.59, 18.43 | rgb(80, 70.59, 18.43) |
CMYK | 0, 12, 77, 20 | |
HSL | 50.8°, 62.55, 49.2 | hsl(50.8, 62.55%, 49.2%) |
HSV | 50.8°, 77, 80 |
XYZ | 41.736, 45.685, 9.308 |
---|---|
Hunter Lab | 67.591, -8.063, 39.149 |
CIE-LAB | 73.341, -5.051, 65.932 |
CIE-LCH | 73.341, 66.125, 94.381 |
CIE-LUV | 0, 11.76, 76.96, 20 |
Web Safe | cccc33 |
RGB percent of color #ccb42f
CMYK percent of color #ccb42f
Text with hexadecimal color #ccb42f
This text has a font color of #ccb42f
<p style="color:#ccb42f">Text here</p>
#ccb42f Background Color
This box has a background color of #ccb42f
<div style="background-color:#ccb42f">Text here</div>
#ccb42f Border Color
This box has a border color of #ccb42f
<div style="border: 4px solid #ccb42f">Text here</div>
CSS codes
<p style="color:#ccb42f">Text here</p>
<div style="background-color:#ccb42f">Text here</div>
<div style="border: 4px solid #ccb42f">Text here</div>
#ccb42f Color on white background
This is how a font and box color of #ccb42f will look
on a white background.
#ccb42f Color on black background
This is how a font and box color of #ccb42f hex color will look
on a black background.