In RGB color space, #5f8040 hex color has a red value of 95, a green value of 128 and a blue value of 64.
In CMYK color space (used in color printing), #5f8040 hex color is composed of 25.78% cyan, 0% magenta, 50% yellow and 49.8% black.
#5f8040 color has a hue of 90.9 degrees, a saturation of 33.33% and a lightness of 37.6%.
#5f8040 hex color contains mainly GREEN.
The closest web safe color of #5f8040 is #669933
#5f8040 hex color has a decimal value of 6258752.
HEX | 5f8040 | #5f8040 |
---|---|---|
RGB | 95, 128, 64 | rgb(95, 128, 64) |
RGB Percent | 37.25, 50.2, 25.1 | rgb(37.25, 50.2, 25.1) |
CMYK | 26, 0, 50, 50 | |
HSL | 90.9°, 33.33, 37.6 | hsl(90.9, 33.33%, 37.6%) |
HSV | 90.9°, 50, 50.2 |
XYZ | 13.364, 18.241, 7.667 |
---|---|
Hunter Lab | 42.709, -18.888, 19.253 |
CIE-LAB | 49.787, -23.568, 30.838 |
CIE-LCH | 49.787, 38.813, 127.389 |
CIE-LUV | 25.78, 0, 50, 49.8 |
Web Safe | 669933 |
RGB percent of color #5f8040
CMYK percent of color #5f8040
Text with hexadecimal color #5f8040
This text has a font color of #5f8040
<p style="color:#5f8040">Text here</p>
#5f8040 Background Color
This box has a background color of #5f8040
<div style="background-color:#5f8040">Text here</div>
#5f8040 Border Color
This box has a border color of #5f8040
<div style="border: 4px solid #5f8040">Text here</div>
CSS codes
<p style="color:#5f8040">Text here</p>
<div style="background-color:#5f8040">Text here</div>
<div style="border: 4px solid #5f8040">Text here</div>
#5f8040 Color on white background
This is how a font and box color of #5f8040 will look
on a white background.
#5f8040 Color on black background
This is how a font and box color of #5f8040 hex color will look
on a black background.