In RGB color space, #5a6a1f hex color has a red value of 90, a green value of 106 and a blue value of 31.
In CMYK color space (used in color printing), #5a6a1f hex color is composed of 15.09% cyan, 0% magenta, 70.75% yellow and 58.43% black.
#5a6a1f color has a hue of 72.8 degrees, a saturation of 54.74% and a lightness of 26.9%.
#5a6a1f hex color contains mainly GREEN.
The closest web safe color of #5a6a1f is #666633
#5a6a1f hex color has a decimal value of 5925407.
HEX | 5a6a1f | #5a6a1f |
---|---|---|
RGB | 90, 106, 31 | rgb(90, 106, 31) |
RGB Percent | 35.29, 41.57, 12.16 | rgb(35.29, 41.57, 12.16) |
CMYK | 15, 0, 71, 58 | |
HSL | 72.8°, 54.74, 26.9 | hsl(72.8, 54.74%, 26.9%) |
HSV | 72.8°, 70.8, 41.6 |
XYZ | 9.618, 12.581, 3.218 |
---|---|
Hunter Lab | 35.47, -13.67, 19.45 |
CIE-LAB | 42.125, -17.541, 38.38 |
CIE-LCH | 42.125, 42.198, 114.562 |
CIE-LUV | 15.09, 0, 70.75, 58.43 |
Web Safe | 666633 |
RGB percent of color #5a6a1f
CMYK percent of color #5a6a1f
Text with hexadecimal color #5a6a1f
This text has a font color of #5a6a1f
<p style="color:#5a6a1f">Text here</p>
#5a6a1f Background Color
This box has a background color of #5a6a1f
<div style="background-color:#5a6a1f">Text here</div>
#5a6a1f Border Color
This box has a border color of #5a6a1f
<div style="border: 4px solid #5a6a1f">Text here</div>
CSS codes
<p style="color:#5a6a1f">Text here</p>
<div style="background-color:#5a6a1f">Text here</div>
<div style="border: 4px solid #5a6a1f">Text here</div>
#5a6a1f Color on white background
This is how a font and box color of #5a6a1f will look
on a white background.
#5a6a1f Color on black background
This is how a font and box color of #5a6a1f hex color will look
on a black background.