In RGB color space, #5a8942 hex color has a red value of 90, a green value of 137 and a blue value of 66.
In CMYK color space (used in color printing), #5a8942 hex color is composed of 34.31% cyan, 0% magenta, 51.82% yellow and 46.27% black.
#5a8942 color has a hue of 99.7 degrees, a saturation of 34.98% and a lightness of 39.8%.
#5a8942 hex color contains mainly GREEN.
The closest web safe color of #5a8942 is #669933
#5a8942 hex color has a decimal value of 5933378.
HEX | 5a8942 | #5a8942 |
---|---|---|
RGB | 90, 137, 66 | rgb(90, 137, 66) |
RGB Percent | 35.29, 53.73, 25.88 | rgb(35.29, 53.73, 25.88) |
CMYK | 34, 0, 52, 46 | |
HSL | 99.7°, 34.98, 39.8 | hsl(99.7, 34.98%, 39.8%) |
HSV | 99.7°, 51.8, 53.7 |
XYZ | 14.145, 20.458, 8.358 |
---|---|
Hunter Lab | 45.231, -23.331, 20.705 |
CIE-LAB | 52.351, -29.65, 32.848 |
CIE-LCH | 52.351, 44.251, 132.071 |
CIE-LUV | 34.31, 0, 51.82, 46.27 |
Web Safe | 669933 |
RGB percent of color #5a8942
CMYK percent of color #5a8942
Text with hexadecimal color #5a8942
This text has a font color of #5a8942
<p style="color:#5a8942">Text here</p>
#5a8942 Background Color
This box has a background color of #5a8942
<div style="background-color:#5a8942">Text here</div>
#5a8942 Border Color
This box has a border color of #5a8942
<div style="border: 4px solid #5a8942">Text here</div>
CSS codes
<p style="color:#5a8942">Text here</p>
<div style="background-color:#5a8942">Text here</div>
<div style="border: 4px solid #5a8942">Text here</div>
#5a8942 Color on white background
This is how a font and box color of #5a8942 will look
on a white background.
#5a8942 Color on black background
This is how a font and box color of #5a8942 hex color will look
on a black background.