In RGB color space, #5f7942 hex color has a red value of 95, a green value of 121 and a blue value of 66.
In CMYK color space (used in color printing), #5f7942 hex color is composed of 21.49% cyan, 0% magenta, 45.45% yellow and 52.55% black.
#5f7942 color has a hue of 88.4 degrees, a saturation of 29.41% and a lightness of 36.7%.
#5f7942 hex color contains mainly GREEN.
The closest web safe color of #5f7942 is #666633
#5f7942 hex color has a decimal value of 6256962.
HEX | 5f7942 | #5f7942 |
---|---|---|
RGB | 95, 121, 66 | rgb(95, 121, 66) |
RGB Percent | 37.25, 47.45, 25.88 | rgb(37.25, 47.45, 25.88) |
CMYK | 21, 0, 45, 53 | |
HSL | 88.4°, 29.41, 36.7 | hsl(88.4, 29.41%, 36.7%) |
HSV | 88.4°, 45.5, 47.5 |
XYZ | 12.54, 16.501, 7.678 |
---|---|
Hunter Lab | 40.621, -15.984, 17.228 |
CIE-LAB | 47.625, -19.706, 27.071 |
CIE-LCH | 47.625, 33.484, 126.052 |
CIE-LUV | 21.49, 0, 45.45, 52.55 |
Web Safe | 666633 |
RGB percent of color #5f7942
CMYK percent of color #5f7942
Text with hexadecimal color #5f7942
This text has a font color of #5f7942
<p style="color:#5f7942">Text here</p>
#5f7942 Background Color
This box has a background color of #5f7942
<div style="background-color:#5f7942">Text here</div>
#5f7942 Border Color
This box has a border color of #5f7942
<div style="border: 4px solid #5f7942">Text here</div>
CSS codes
<p style="color:#5f7942">Text here</p>
<div style="background-color:#5f7942">Text here</div>
<div style="border: 4px solid #5f7942">Text here</div>
#5f7942 Color on white background
This is how a font and box color of #5f7942 will look
on a white background.
#5f7942 Color on black background
This is how a font and box color of #5f7942 hex color will look
on a black background.