In RGB color space, #5f7840 hex color has a red value of 95, a green value of 120 and a blue value of 64.
In CMYK color space (used in color printing), #5f7840 hex color is composed of 20.83% cyan, 0% magenta, 46.67% yellow and 52.94% black.
#5f7840 color has a hue of 86.8 degrees, a saturation of 30.43% and a lightness of 36.1%.
#5f7840 hex color contains mainly GREEN.
The closest web safe color of #5f7840 is #666633
#5f7840 hex color has a decimal value of 6256704.
HEX | 5f7840 | #5f7840 |
---|---|---|
RGB | 95, 120, 64 | rgb(95, 120, 64) |
RGB Percent | 37.25, 47.06, 25.1 | rgb(37.25, 47.06, 25.1) |
CMYK | 21, 0, 47, 53 | |
HSL | 86.8°, 30.43, 36.1 | hsl(86.8, 30.43%, 36.1%) |
HSV | 86.8°, 46.7, 47.1 |
XYZ | 12.361, 16.236, 7.333 |
---|---|
Hunter Lab | 40.294, -15.756, 17.416 |
CIE-LAB | 47.283, -19.447, 27.737 |
CIE-LCH | 47.283, 33.875, 125.035 |
CIE-LUV | 20.83, 0, 46.67, 52.94 |
Web Safe | 666633 |
RGB percent of color #5f7840
CMYK percent of color #5f7840
Text with hexadecimal color #5f7840
This text has a font color of #5f7840
<p style="color:#5f7840">Text here</p>
#5f7840 Background Color
This box has a background color of #5f7840
<div style="background-color:#5f7840">Text here</div>
#5f7840 Border Color
This box has a border color of #5f7840
<div style="border: 4px solid #5f7840">Text here</div>
CSS codes
<p style="color:#5f7840">Text here</p>
<div style="background-color:#5f7840">Text here</div>
<div style="border: 4px solid #5f7840">Text here</div>
#5f7840 Color on white background
This is how a font and box color of #5f7840 will look
on a white background.
#5f7840 Color on black background
This is how a font and box color of #5f7840 hex color will look
on a black background.