In RGB color space, #5f7b1f hex color has a red value of 95, a green value of 123 and a blue value of 31.
In CMYK color space (used in color printing), #5f7b1f hex color is composed of 22.76% cyan, 0% magenta, 74.8% yellow and 51.76% black.
#5f7b1f color has a hue of 78.3 degrees, a saturation of 59.74% and a lightness of 30.2%.
#5f7b1f hex color contains mainly GREEN.
The closest web safe color of #5f7b1f is #666633
#5f7b1f hex color has a decimal value of 6257439.
HEX | 5f7b1f | #5f7b1f |
---|---|---|
RGB | 95, 123, 31 | rgb(95, 123, 31) |
RGB Percent | 37.25, 48.24, 12.16 | rgb(37.25, 48.24, 12.16) |
CMYK | 23, 0, 75, 52 | |
HSL | 78.3°, 59.74, 30.2 | hsl(78.3, 59.74%, 30.2%) |
HSV | 78.3°, 74.8, 48.2 |
XYZ | 12.05, 16.698, 3.884 |
---|---|
Hunter Lab | 40.863, -18.873, 22.969 |
CIE-LAB | 47.877, -24.152, 44.296 |
CIE-LCH | 47.877, 50.452, 118.601 |
CIE-LUV | 22.76, 0, 74.8, 51.76 |
Web Safe | 666633 |
RGB percent of color #5f7b1f
CMYK percent of color #5f7b1f
Text with hexadecimal color #5f7b1f
This text has a font color of #5f7b1f
<p style="color:#5f7b1f">Text here</p>
#5f7b1f Background Color
This box has a background color of #5f7b1f
<div style="background-color:#5f7b1f">Text here</div>
#5f7b1f Border Color
This box has a border color of #5f7b1f
<div style="border: 4px solid #5f7b1f">Text here</div>
CSS codes
<p style="color:#5f7b1f">Text here</p>
<div style="background-color:#5f7b1f">Text here</div>
<div style="border: 4px solid #5f7b1f">Text here</div>
#5f7b1f Color on white background
This is how a font and box color of #5f7b1f will look
on a white background.
#5f7b1f Color on black background
This is how a font and box color of #5f7b1f hex color will look
on a black background.