In RGB color space, #5f7b42 hex color has a red value of 95, a green value of 123 and a blue value of 66.
In CMYK color space (used in color printing), #5f7b42 hex color is composed of 22.76% cyan, 0% magenta, 46.34% yellow and 51.76% black.
#5f7b42 color has a hue of 89.5 degrees, a saturation of 30.16% and a lightness of 37.1%.
#5f7b42 hex color contains mainly GREEN.
The closest web safe color of #5f7b42 is #666633
#5f7b42 hex color has a decimal value of 6257474.
HEX | 5f7b42 | #5f7b42 |
---|---|---|
RGB | 95, 123, 66 | rgb(95, 123, 66) |
RGB Percent | 37.25, 48.24, 25.88 | rgb(37.25, 48.24, 25.88) |
CMYK | 23, 0, 46, 52 | |
HSL | 89.5°, 30.16, 37.1 | hsl(89.5, 30.16%, 37.1%) |
HSV | 89.5°, 46.3, 48.2 |
XYZ | 12.786, 16.992, 7.76 |
---|---|
Hunter Lab | 41.221, -16.77, 17.693 |
CIE-LAB | 48.25, -20.746, 27.855 |
CIE-LCH | 48.25, 34.732, 126.678 |
CIE-LUV | 22.76, 0, 46.34, 51.76 |
Web Safe | 666633 |
RGB percent of color #5f7b42
CMYK percent of color #5f7b42
Text with hexadecimal color #5f7b42
This text has a font color of #5f7b42
<p style="color:#5f7b42">Text here</p>
#5f7b42 Background Color
This box has a background color of #5f7b42
<div style="background-color:#5f7b42">Text here</div>
#5f7b42 Border Color
This box has a border color of #5f7b42
<div style="border: 4px solid #5f7b42">Text here</div>
CSS codes
<p style="color:#5f7b42">Text here</p>
<div style="background-color:#5f7b42">Text here</div>
<div style="border: 4px solid #5f7b42">Text here</div>
#5f7b42 Color on white background
This is how a font and box color of #5f7b42 will look
on a white background.
#5f7b42 Color on black background
This is how a font and box color of #5f7b42 hex color will look
on a black background.