In RGB color space, #5a7b42 hex color has a red value of 90, a green value of 123 and a blue value of 66.
In CMYK color space (used in color printing), #5a7b42 hex color is composed of 26.83% cyan, 0% magenta, 46.34% yellow and 51.76% black.
#5a7b42 color has a hue of 94.7 degrees, a saturation of 30.16% and a lightness of 37.1%.
#5a7b42 hex color contains mainly GREEN.
The closest web safe color of #5a7b42 is #666633
#5a7b42 hex color has a decimal value of 5929794.
HEX | 5a7b42 | #5a7b42 |
---|---|---|
RGB | 90, 123, 66 | rgb(90, 123, 66) |
RGB Percent | 35.29, 48.24, 25.88 | rgb(35.29, 48.24, 25.88) |
CMYK | 27, 0, 46, 52 | |
HSL | 94.7°, 30.16, 37.1 | hsl(94.7, 30.16%, 37.1%) |
HSV | 94.7°, 46.3, 48.2 |
XYZ | 12.283, 16.733, 7.737 |
---|---|
Hunter Lab | 40.906, -17.987, 17.42 |
CIE-LAB | 47.922, -22.736, 27.371 |
CIE-LCH | 47.922, 35.582, 129.715 |
CIE-LUV | 26.83, 0, 46.34, 51.76 |
Web Safe | 666633 |
RGB percent of color #5a7b42
CMYK percent of color #5a7b42
Text with hexadecimal color #5a7b42
This text has a font color of #5a7b42
<p style="color:#5a7b42">Text here</p>
#5a7b42 Background Color
This box has a background color of #5a7b42
<div style="background-color:#5a7b42">Text here</div>
#5a7b42 Border Color
This box has a border color of #5a7b42
<div style="border: 4px solid #5a7b42">Text here</div>
CSS codes
<p style="color:#5a7b42">Text here</p>
<div style="background-color:#5a7b42">Text here</div>
<div style="border: 4px solid #5a7b42">Text here</div>
#5a7b42 Color on white background
This is how a font and box color of #5a7b42 will look
on a white background.
#5a7b42 Color on black background
This is how a font and box color of #5a7b42 hex color will look
on a black background.