In RGB color space, #5f8a1f hex color has a red value of 95, a green value of 138 and a blue value of 31.
In CMYK color space (used in color printing), #5f8a1f hex color is composed of 31.16% cyan, 0% magenta, 77.54% yellow and 45.88% black.
#5f8a1f color has a hue of 84.1 degrees, a saturation of 63.31% and a lightness of 33.1%.
#5f8a1f hex color contains mainly GREEN.
The closest web safe color of #5f8a1f is #669933
#5f8a1f hex color has a decimal value of 6261279.
HEX | 5f8a1f | #5f8a1f |
---|---|---|
RGB | 95, 138, 31 | rgb(95, 138, 31) |
RGB Percent | 37.25, 54.12, 12.16 | rgb(37.25, 54.12, 12.16) |
CMYK | 31, 0, 78, 46 | |
HSL | 84.1°, 63.31, 33.1 | hsl(84.1, 63.31%, 33.1%) |
HSV | 84.1°, 77.5, 54.1 |
XYZ | 14.055, 20.709, 4.553 |
---|---|
Hunter Lab | 45.507, -24.507, 25.923 |
CIE-LAB | 52.63, -31.413, 48.908 |
CIE-LCH | 52.63, 58.127, 122.712 |
CIE-LUV | 31.16, 0, 77.54, 45.88 |
Web Safe | 669933 |
RGB percent of color #5f8a1f
CMYK percent of color #5f8a1f
Text with hexadecimal color #5f8a1f
This text has a font color of #5f8a1f
<p style="color:#5f8a1f">Text here</p>
#5f8a1f Background Color
This box has a background color of #5f8a1f
<div style="background-color:#5f8a1f">Text here</div>
#5f8a1f Border Color
This box has a border color of #5f8a1f
<div style="border: 4px solid #5f8a1f">Text here</div>
CSS codes
<p style="color:#5f8a1f">Text here</p>
<div style="background-color:#5f8a1f">Text here</div>
<div style="border: 4px solid #5f8a1f">Text here</div>
#5f8a1f Color on white background
This is how a font and box color of #5f8a1f will look
on a white background.
#5f8a1f Color on black background
This is how a font and box color of #5f8a1f hex color will look
on a black background.