In RGB color space, #5a7e42 hex color has a red value of 90, a green value of 126 and a blue value of 66.
In CMYK color space (used in color printing), #5a7e42 hex color is composed of 28.57% cyan, 0% magenta, 47.62% yellow and 50.59% black.
#5a7e42 color has a hue of 96 degrees, a saturation of 31.25% and a lightness of 37.6%.
#5a7e42 hex color contains mainly GREEN.
The closest web safe color of #5a7e42 is #666633
#5a7e42 hex color has a decimal value of 5930562.
HEX | 5a7e42 | #5a7e42 |
---|---|---|
RGB | 90, 126, 66 | rgb(90, 126, 66) |
RGB Percent | 35.29, 49.41, 25.88 | rgb(35.29, 49.41, 25.88) |
CMYK | 29, 0, 48, 51 | |
HSL | 96°, 31.25, 37.6 | hsl(96, 31.25%, 37.6%) |
HSV | 96°, 47.6, 49.4 |
XYZ | 12.661, 17.489, 7.863 |
---|---|
Hunter Lab | 41.82, -19.144, 18.126 |
CIE-LAB | 48.87, -24.257, 28.559 |
CIE-LCH | 48.87, 37.47, 130.343 |
CIE-LUV | 28.57, 0, 47.62, 50.59 |
Web Safe | 666633 |
RGB percent of color #5a7e42
CMYK percent of color #5a7e42
Text with hexadecimal color #5a7e42
This text has a font color of #5a7e42
<p style="color:#5a7e42">Text here</p>
#5a7e42 Background Color
This box has a background color of #5a7e42
<div style="background-color:#5a7e42">Text here</div>
#5a7e42 Border Color
This box has a border color of #5a7e42
<div style="border: 4px solid #5a7e42">Text here</div>
CSS codes
<p style="color:#5a7e42">Text here</p>
<div style="background-color:#5a7e42">Text here</div>
<div style="border: 4px solid #5a7e42">Text here</div>
#5a7e42 Color on white background
This is how a font and box color of #5a7e42 will look
on a white background.
#5a7e42 Color on black background
This is how a font and box color of #5a7e42 hex color will look
on a black background.