In RGB color space, #5a8228 hex color has a red value of 90, a green value of 130 and a blue value of 40.
In CMYK color space (used in color printing), #5a8228 hex color is composed of 30.77% cyan, 0% magenta, 69.23% yellow and 49.02% black.
#5a8228 color has a hue of 86.7 degrees, a saturation of 52.94% and a lightness of 33.3%.
#5a8228 hex color contains mainly GREEN.
The closest web safe color of #5a8228 is #669933
#5a8228 hex color has a decimal value of 5931560.
HEX | 5a8228 | #5a8228 |
---|---|---|
RGB | 90, 130, 40 | rgb(90, 130, 40) |
RGB Percent | 35.29, 50.98, 15.69 | rgb(35.29, 50.98, 15.69) |
CMYK | 31, 0, 69, 49 | |
HSL | 86.7°, 52.94, 33.3 | hsl(86.7, 52.94%, 33.3%) |
HSV | 86.7°, 69.2, 51 |
XYZ | 12.582, 18.292, 4.875 |
---|---|
Hunter Lab | 42.769, -22.334, 23.18 |
CIE-LAB | 49.848, -29.005, 42.514 |
CIE-LCH | 49.848, 51.466, 124.304 |
CIE-LUV | 30.77, 0, 69.23, 49.02 |
Web Safe | 669933 |
RGB percent of color #5a8228
CMYK percent of color #5a8228
Text with hexadecimal color #5a8228
This text has a font color of #5a8228
<p style="color:#5a8228">Text here</p>
#5a8228 Background Color
This box has a background color of #5a8228
<div style="background-color:#5a8228">Text here</div>
#5a8228 Border Color
This box has a border color of #5a8228
<div style="border: 4px solid #5a8228">Text here</div>
CSS codes
<p style="color:#5a8228">Text here</p>
<div style="background-color:#5a8228">Text here</div>
<div style="border: 4px solid #5a8228">Text here</div>
#5a8228 Color on white background
This is how a font and box color of #5a8228 will look
on a white background.
#5a8228 Color on black background
This is how a font and box color of #5a8228 hex color will look
on a black background.