In RGB color space, #5a7a1f hex color has a red value of 90, a green value of 122 and a blue value of 31.
In CMYK color space (used in color printing), #5a7a1f hex color is composed of 26.23% cyan, 0% magenta, 74.59% yellow and 52.16% black.
#5a7a1f color has a hue of 81.1 degrees, a saturation of 59.48% and a lightness of 30%.
#5a7a1f hex color contains mainly GREEN.
The closest web safe color of #5a7a1f is #666633
#5a7a1f hex color has a decimal value of 5929503.
HEX | 5a7a1f | #5a7a1f |
---|---|---|
RGB | 90, 122, 31 | rgb(90, 122, 31) |
RGB Percent | 35.29, 47.84, 12.16 | rgb(35.29, 47.84, 12.16) |
CMYK | 26, 0, 75, 52 | |
HSL | 81.1°, 59.48, 30 | hsl(81.1, 59.48%, 30%) |
HSV | 81.1°, 74.6, 47.8 |
XYZ | 11.423, 16.192, 3.82 |
---|---|
Hunter Lab | 40.239, -19.747, 22.539 |
CIE-LAB | 47.225, -25.777, 43.536 |
CIE-LCH | 47.225, 50.595, 120.629 |
CIE-LUV | 26.23, 0, 74.59, 52.16 |
Web Safe | 666633 |
RGB percent of color #5a7a1f
CMYK percent of color #5a7a1f
Text with hexadecimal color #5a7a1f
This text has a font color of #5a7a1f
<p style="color:#5a7a1f">Text here</p>
#5a7a1f Background Color
This box has a background color of #5a7a1f
<div style="background-color:#5a7a1f">Text here</div>
#5a7a1f Border Color
This box has a border color of #5a7a1f
<div style="border: 4px solid #5a7a1f">Text here</div>
CSS codes
<p style="color:#5a7a1f">Text here</p>
<div style="background-color:#5a7a1f">Text here</div>
<div style="border: 4px solid #5a7a1f">Text here</div>
#5a7a1f Color on white background
This is how a font and box color of #5a7a1f will look
on a white background.
#5a7a1f Color on black background
This is how a font and box color of #5a7a1f hex color will look
on a black background.