In RGB color space, #5a7b1f hex color has a red value of 90, a green value of 123 and a blue value of 31.
In CMYK color space (used in color printing), #5a7b1f hex color is composed of 26.83% cyan, 0% magenta, 74.8% yellow and 51.76% black.
#5a7b1f color has a hue of 81.5 degrees, a saturation of 59.74% and a lightness of 30.2%.
#5a7b1f hex color contains mainly GREEN.
The closest web safe color of #5a7b1f is #666633
#5a7b1f hex color has a decimal value of 5929759.
HEX | 5a7b1f | #5a7b1f |
---|---|---|
RGB | 90, 123, 31 | rgb(90, 123, 31) |
RGB Percent | 35.29, 48.24, 12.16 | rgb(35.29, 48.24, 12.16) |
CMYK | 27, 0, 75, 52 | |
HSL | 81.5°, 59.74, 30.2 | hsl(81.5, 59.74%, 30.2%) |
HSV | 81.5°, 74.8, 48.2 |
XYZ | 11.547, 16.439, 3.861 |
---|---|
Hunter Lab | 40.545, -20.118, 22.735 |
CIE-LAB | 47.545, -26.266, 43.854 |
CIE-LCH | 47.545, 51.118, 120.919 |
CIE-LUV | 26.83, 0, 74.8, 51.76 |
Web Safe | 666633 |
RGB percent of color #5a7b1f
CMYK percent of color #5a7b1f
Text with hexadecimal color #5a7b1f
This text has a font color of #5a7b1f
<p style="color:#5a7b1f">Text here</p>
#5a7b1f Background Color
This box has a background color of #5a7b1f
<div style="background-color:#5a7b1f">Text here</div>
#5a7b1f Border Color
This box has a border color of #5a7b1f
<div style="border: 4px solid #5a7b1f">Text here</div>
CSS codes
<p style="color:#5a7b1f">Text here</p>
<div style="background-color:#5a7b1f">Text here</div>
<div style="border: 4px solid #5a7b1f">Text here</div>
#5a7b1f Color on white background
This is how a font and box color of #5a7b1f will look
on a white background.
#5a7b1f Color on black background
This is how a font and box color of #5a7b1f hex color will look
on a black background.