In RGB color space, #5a7f31 hex color has a red value of 90, a green value of 127 and a blue value of 49.
In CMYK color space (used in color printing), #5a7f31 hex color is composed of 29.13% cyan, 0% magenta, 61.42% yellow and 50.2% black.
#5a7f31 color has a hue of 88.5 degrees, a saturation of 44.32% and a lightness of 34.5%.
#5a7f31 hex color contains mainly GREEN.
The closest web safe color of #5a7f31 is #666633
#5a7f31 hex color has a decimal value of 5930801.
HEX | 5a7f31 | #5a7f31 |
---|---|---|
RGB | 90, 127, 49 | rgb(90, 127, 49) |
RGB Percent | 35.29, 49.8, 19.22 | rgb(35.29, 49.8, 19.22) |
CMYK | 29, 0, 61, 50 | |
HSL | 88.5°, 44.32, 34.5 | hsl(88.5, 44.32%, 34.5%) |
HSV | 88.5°, 61.4, 49.8 |
XYZ | 12.36, 17.574, 5.646 |
---|---|
Hunter Lab | 41.921, -20.734, 21.36 |
CIE-LAB | 48.975, -26.749, 37.446 |
CIE-LCH | 48.975, 46.019, 125.54 |
CIE-LUV | 29.13, 0, 61.42, 50.2 |
Web Safe | 666633 |
RGB percent of color #5a7f31
CMYK percent of color #5a7f31
Text with hexadecimal color #5a7f31
This text has a font color of #5a7f31
<p style="color:#5a7f31">Text here</p>
#5a7f31 Background Color
This box has a background color of #5a7f31
<div style="background-color:#5a7f31">Text here</div>
#5a7f31 Border Color
This box has a border color of #5a7f31
<div style="border: 4px solid #5a7f31">Text here</div>
CSS codes
<p style="color:#5a7f31">Text here</p>
<div style="background-color:#5a7f31">Text here</div>
<div style="border: 4px solid #5a7f31">Text here</div>
#5a7f31 Color on white background
This is how a font and box color of #5a7f31 will look
on a white background.
#5a7f31 Color on black background
This is how a font and box color of #5a7f31 hex color will look
on a black background.