In RGB color space, #5f7812 hex color has a red value of 95, a green value of 120 and a blue value of 18.
In CMYK color space (used in color printing), #5f7812 hex color is composed of 20.83% cyan, 0% magenta, 85% yellow and 52.94% black.
#5f7812 color has a hue of 74.7 degrees, a saturation of 73.91% and a lightness of 27.1%.
#5f7812 hex color contains mainly GREEN.
The closest web safe color of #5f7812 is #666600
#5f7812 hex color has a decimal value of 6256658.
HEX | 5f7812 | #5f7812 |
---|---|---|
RGB | 95, 120, 18 | rgb(95, 120, 18) |
RGB Percent | 37.25, 47.06, 7.06 | rgb(37.25, 47.06, 7.06) |
CMYK | 21, 0, 85, 53 | |
HSL | 74.7°, 73.91, 27.1 | hsl(74.7, 73.91%, 27.1%) |
HSV | 74.7°, 85, 47.1 |
XYZ | 11.545, 15.91, 3.035 |
---|---|
Hunter Lab | 39.887, -18.138, 23.41 |
CIE-LAB | 46.856, -23.31, 47.732 |
CIE-LCH | 46.856, 53.12, 116.029 |
CIE-LUV | 20.83, 0, 85, 52.94 |
Web Safe | 666600 |
RGB percent of color #5f7812
CMYK percent of color #5f7812
Text with hexadecimal color #5f7812
This text has a font color of #5f7812
<p style="color:#5f7812">Text here</p>
#5f7812 Background Color
This box has a background color of #5f7812
<div style="background-color:#5f7812">Text here</div>
#5f7812 Border Color
This box has a border color of #5f7812
<div style="border: 4px solid #5f7812">Text here</div>
CSS codes
<p style="color:#5f7812">Text here</p>
<div style="background-color:#5f7812">Text here</div>
<div style="border: 4px solid #5f7812">Text here</div>
#5f7812 Color on white background
This is how a font and box color of #5f7812 will look
on a white background.
#5f7812 Color on black background
This is how a font and box color of #5f7812 hex color will look
on a black background.