In RGB color space, #5a8542 hex color has a red value of 90, a green value of 133 and a blue value of 66.
In CMYK color space (used in color printing), #5a8542 hex color is composed of 32.33% cyan, 0% magenta, 50.38% yellow and 47.84% black.
#5a8542 color has a hue of 98.5 degrees, a saturation of 33.67% and a lightness of 39%.
#5a8542 hex color contains mainly GREEN.
The closest web safe color of #5a8542 is #669933
#5a8542 hex color has a decimal value of 5932354.
HEX | 5a8542 | #5a8542 |
---|---|---|
RGB | 90, 133, 66 | rgb(90, 133, 66) |
RGB Percent | 35.29, 52.16, 25.88 | rgb(35.29, 52.16, 25.88) |
CMYK | 32, 0, 50, 48 | |
HSL | 98.5°, 33.67, 39 | hsl(98.5, 33.67%, 39%) |
HSV | 98.5°, 50.4, 52.2 |
XYZ | 13.587, 19.342, 8.172 |
---|---|
Hunter Lab | 43.98, -21.819, 19.769 |
CIE-LAB | 51.085, -27.723, 31.301 |
CIE-LCH | 51.085, 41.813, 131.531 |
CIE-LUV | 32.33, 0, 50.38, 47.84 |
Web Safe | 669933 |
RGB percent of color #5a8542
CMYK percent of color #5a8542
Text with hexadecimal color #5a8542
This text has a font color of #5a8542
<p style="color:#5a8542">Text here</p>
#5a8542 Background Color
This box has a background color of #5a8542
<div style="background-color:#5a8542">Text here</div>
#5a8542 Border Color
This box has a border color of #5a8542
<div style="border: 4px solid #5a8542">Text here</div>
CSS codes
<p style="color:#5a8542">Text here</p>
<div style="background-color:#5a8542">Text here</div>
<div style="border: 4px solid #5a8542">Text here</div>
#5a8542 Color on white background
This is how a font and box color of #5a8542 will look
on a white background.
#5a8542 Color on black background
This is how a font and box color of #5a8542 hex color will look
on a black background.