In RGB color space, #d8c31f hex color has a red value of 216, a green value of 195 and a blue value of 31.
In CMYK color space (used in color printing), #d8c31f hex color is composed of 0% cyan, 9.72% magenta, 85.65% yellow and 15.29% black.
#d8c31f color has a hue of 53.2 degrees, a saturation of 74.9% and a lightness of 48.4%.
#d8c31f hex color contains mainly RED.
The closest web safe color of #d8c31f is #cccc33
#d8c31f hex color has a decimal value of 14205727.
HEX | d8c31f | #d8c31f |
---|---|---|
RGB | 216, 195, 31 | rgb(216, 195, 31) |
RGB Percent | 84.71, 76.47, 12.16 | rgb(84.71, 76.47, 12.16) |
CMYK | 0, 10, 86, 15 | |
HSL | 53.2°, 74.9, 48.4 | hsl(53.2, 74.9%, 48.4%) |
HSV | 53.2°, 85.6, 84.7 |
XYZ | 48.081, 53.728, 9.133 |
---|---|
Hunter Lab | 73.299, -11.186, 43.922 |
CIE-LAB | 78.303, -8.082, 75.043 |
CIE-LCH | 78.303, 75.477, 96.147 |
CIE-LUV | 0, 9.72, 85.65, 15.29 |
Web Safe | cccc33 |
RGB percent of color #d8c31f
CMYK percent of color #d8c31f
Text with hexadecimal color #d8c31f
This text has a font color of #d8c31f
<p style="color:#d8c31f">Text here</p>
#d8c31f Background Color
This box has a background color of #d8c31f
<div style="background-color:#d8c31f">Text here</div>
#d8c31f Border Color
This box has a border color of #d8c31f
<div style="border: 4px solid #d8c31f">Text here</div>
CSS codes
<p style="color:#d8c31f">Text here</p>
<div style="background-color:#d8c31f">Text here</div>
<div style="border: 4px solid #d8c31f">Text here</div>
#d8c31f Color on white background
This is how a font and box color of #d8c31f will look
on a white background.
#d8c31f Color on black background
This is how a font and box color of #d8c31f hex color will look
on a black background.