In RGB color space, #f0cc1f hex color has a red value of 240, a green value of 204 and a blue value of 31.
In CMYK color space (used in color printing), #f0cc1f hex color is composed of 0% cyan, 15% magenta, 87.08% yellow and 5.88% black.
#f0cc1f color has a hue of 49.7 degrees, a saturation of 87.45% and a lightness of 53.1%.
#f0cc1f hex color contains mainly RED.
The closest web safe color of #f0cc1f is #ffcc33
#f0cc1f hex color has a decimal value of 15780895.
HEX | f0cc1f | #f0cc1f |
---|---|---|
RGB | 240, 204, 31 | rgb(240, 204, 31) |
RGB Percent | 94.12, 80, 12.16 | rgb(94.12, 80, 12.16) |
CMYK | 0, 15, 87, 6 | |
HSL | 49.7°, 87.45, 53.1 | hsl(49.7, 87.45%, 53.1%) |
HSV | 49.7°, 87.1, 94.1 |
XYZ | 57.775, 61.81, 10.182 |
---|---|
Hunter Lab | 78.619, -6.41, 47.355 |
CIE-LAB | 82.812, -2.366, 79.587 |
CIE-LCH | 82.812, 79.622, 91.703 |
CIE-LUV | 0, 15, 87.08, 5.88 |
Web Safe | ffcc33 |
RGB percent of color #f0cc1f
CMYK percent of color #f0cc1f
Text with hexadecimal color #f0cc1f
This text has a font color of #f0cc1f
<p style="color:#f0cc1f">Text here</p>
#f0cc1f Background Color
This box has a background color of #f0cc1f
<div style="background-color:#f0cc1f">Text here</div>
#f0cc1f Border Color
This box has a border color of #f0cc1f
<div style="border: 4px solid #f0cc1f">Text here</div>
CSS codes
<p style="color:#f0cc1f">Text here</p>
<div style="background-color:#f0cc1f">Text here</div>
<div style="border: 4px solid #f0cc1f">Text here</div>
#f0cc1f Color on white background
This is how a font and box color of #f0cc1f will look
on a white background.
#f0cc1f Color on black background
This is how a font and box color of #f0cc1f hex color will look
on a black background.