In RGB color space, #5a7b31 hex color has a red value of 90, a green value of 123 and a blue value of 49.
In CMYK color space (used in color printing), #5a7b31 hex color is composed of 26.83% cyan, 0% magenta, 60.16% yellow and 51.76% black.
#5a7b31 color has a hue of 86.8 degrees, a saturation of 43.02% and a lightness of 33.7%.
#5a7b31 hex color contains mainly GREEN.
The closest web safe color of #5a7b31 is #666633
#5a7b31 hex color has a decimal value of 5929777.
HEX | 5a7b31 | #5a7b31 |
---|---|---|
RGB | 90, 123, 49 | rgb(90, 123, 49) |
RGB Percent | 35.29, 48.24, 19.22 | rgb(35.29, 48.24, 19.22) |
CMYK | 27, 0, 60, 52 | |
HSL | 86.8°, 43.02, 33.7 | hsl(86.8, 43.02%, 33.7%) |
HSV | 86.8°, 60.2, 48.2 |
XYZ | 11.854, 16.561, 5.478 |
---|---|
Hunter Lab | 40.695, -19.222, 20.506 |
CIE-LAB | 47.702, -24.767, 35.998 |
CIE-LCH | 47.702, 43.695, 124.528 |
CIE-LUV | 26.83, 0, 60.16, 51.76 |
Web Safe | 666633 |
RGB percent of color #5a7b31
CMYK percent of color #5a7b31
Text with hexadecimal color #5a7b31
This text has a font color of #5a7b31
<p style="color:#5a7b31">Text here</p>
#5a7b31 Background Color
This box has a background color of #5a7b31
<div style="background-color:#5a7b31">Text here</div>
#5a7b31 Border Color
This box has a border color of #5a7b31
<div style="border: 4px solid #5a7b31">Text here</div>
CSS codes
<p style="color:#5a7b31">Text here</p>
<div style="background-color:#5a7b31">Text here</div>
<div style="border: 4px solid #5a7b31">Text here</div>
#5a7b31 Color on white background
This is how a font and box color of #5a7b31 will look
on a white background.
#5a7b31 Color on black background
This is how a font and box color of #5a7b31 hex color will look
on a black background.