In RGB color space, #5a7040 hex color has a red value of 90, a green value of 112 and a blue value of 64.
In CMYK color space (used in color printing), #5a7040 hex color is composed of 19.64% cyan, 0% magenta, 42.86% yellow and 56.08% black.
#5a7040 color has a hue of 87.5 degrees, a saturation of 27.27% and a lightness of 34.5%.
#5a7040 hex color contains mainly GREEN.
The closest web safe color of #5a7040 is #666633
#5a7040 hex color has a decimal value of 5926976.
HEX | 5a7040 | #5a7040 |
---|---|---|
RGB | 90, 112, 64 | rgb(90, 112, 64) |
RGB Percent | 35.29, 43.92, 25.1 | rgb(35.29, 43.92, 25.1) |
CMYK | 20, 0, 43, 56 | |
HSL | 87.5°, 27.27, 34.5 | hsl(87.5, 27.27%, 34.5%) |
HSV | 87.5°, 42.9, 43.9 |
XYZ | 10.936, 14.132, 7.002 |
---|---|
Hunter Lab | 37.593, -13.86, 15.271 |
CIE-LAB | 44.422, -17.249, 24.047 |
CIE-LCH | 44.422, 29.594, 125.652 |
CIE-LUV | 19.64, 0, 42.86, 56.08 |
Web Safe | 666633 |
RGB percent of color #5a7040
CMYK percent of color #5a7040
Text with hexadecimal color #5a7040
This text has a font color of #5a7040
<p style="color:#5a7040">Text here</p>
#5a7040 Background Color
This box has a background color of #5a7040
<div style="background-color:#5a7040">Text here</div>
#5a7040 Border Color
This box has a border color of #5a7040
<div style="border: 4px solid #5a7040">Text here</div>
CSS codes
<p style="color:#5a7040">Text here</p>
<div style="background-color:#5a7040">Text here</div>
<div style="border: 4px solid #5a7040">Text here</div>
#5a7040 Color on white background
This is how a font and box color of #5a7040 will look
on a white background.
#5a7040 Color on black background
This is how a font and box color of #5a7040 hex color will look
on a black background.