In RGB color space, #d8c402 hex color has a red value of 216, a green value of 196 and a blue value of 2.
In CMYK color space (used in color printing), #d8c402 hex color is composed of 0% cyan, 9.26% magenta, 99.07% yellow and 15.29% black.
#d8c402 color has a hue of 54.4 degrees, a saturation of 98.17% and a lightness of 42.7%.
#d8c402 hex color contains mainly RED.
The closest web safe color of #d8c402 is #cccc00
#d8c402 hex color has a decimal value of 14205954.
HEX | d8c402 | #d8c402 |
---|---|---|
RGB | 216, 196, 2 | rgb(216, 196, 2) |
RGB Percent | 84.71, 76.86, 0.78 | rgb(84.71, 76.86, 0.78) |
CMYK | 0, 9, 99, 15 | |
HSL | 54.4°, 98.17, 42.7 | hsl(54.4, 98.17%, 42.7%) |
HSV | 54.4°, 99.1, 84.7 |
XYZ | 48.07, 54.083, 7.963 |
---|---|
Hunter Lab | 73.541, -12.021, 45.059 |
CIE-LAB | 78.51, -9.005, 79.311 |
CIE-LCH | 78.51, 79.821, 96.478 |
CIE-LUV | 0, 9.26, 99.07, 15.29 |
Web Safe | cccc00 |
RGB percent of color #d8c402
CMYK percent of color #d8c402
Text with hexadecimal color #d8c402
This text has a font color of #d8c402
<p style="color:#d8c402">Text here</p>
#d8c402 Background Color
This box has a background color of #d8c402
<div style="background-color:#d8c402">Text here</div>
#d8c402 Border Color
This box has a border color of #d8c402
<div style="border: 4px solid #d8c402">Text here</div>
CSS codes
<p style="color:#d8c402">Text here</p>
<div style="background-color:#d8c402">Text here</div>
<div style="border: 4px solid #d8c402">Text here</div>
#d8c402 Color on white background
This is how a font and box color of #d8c402 will look
on a white background.
#d8c402 Color on black background
This is how a font and box color of #d8c402 hex color will look
on a black background.