In RGB color space, #5a7a40 hex color has a red value of 90, a green value of 122 and a blue value of 64.
In CMYK color space (used in color printing), #5a7a40 hex color is composed of 26.23% cyan, 0% magenta, 47.54% yellow and 52.16% black.
#5a7a40 color has a hue of 93.1 degrees, a saturation of 31.18% and a lightness of 36.5%.
#5a7a40 hex color contains mainly GREEN.
The closest web safe color of #5a7a40 is #666633
#5a7a40 hex color has a decimal value of 5929536.
HEX | 5a7a40 | #5a7a40 |
---|---|---|
RGB | 90, 122, 64 | rgb(90, 122, 64) |
RGB Percent | 35.29, 47.84, 25.1 | rgb(35.29, 47.84, 25.1) |
CMYK | 26, 0, 48, 52 | |
HSL | 93.1°, 31.18, 36.5 | hsl(93.1, 31.18%, 36.5%) |
HSV | 93.1°, 47.5, 47.8 |
XYZ | 12.101, 16.463, 7.39 |
---|---|
Hunter Lab | 40.575, -17.77, 17.604 |
CIE-LAB | 47.576, -22.501, 28.033 |
CIE-LCH | 47.576, 35.946, 128.753 |
CIE-LUV | 26.23, 0, 47.54, 52.16 |
Web Safe | 666633 |
RGB percent of color #5a7a40
CMYK percent of color #5a7a40
Text with hexadecimal color #5a7a40
This text has a font color of #5a7a40
<p style="color:#5a7a40">Text here</p>
#5a7a40 Background Color
This box has a background color of #5a7a40
<div style="background-color:#5a7a40">Text here</div>
#5a7a40 Border Color
This box has a border color of #5a7a40
<div style="border: 4px solid #5a7a40">Text here</div>
CSS codes
<p style="color:#5a7a40">Text here</p>
<div style="background-color:#5a7a40">Text here</div>
<div style="border: 4px solid #5a7a40">Text here</div>
#5a7a40 Color on white background
This is how a font and box color of #5a7a40 will look
on a white background.
#5a7a40 Color on black background
This is how a font and box color of #5a7a40 hex color will look
on a black background.