In RGB color space, #5a7d2c hex color has a red value of 90, a green value of 125 and a blue value of 44.
In CMYK color space (used in color printing), #5a7d2c hex color is composed of 28% cyan, 0% magenta, 64.8% yellow and 50.98% black.
#5a7d2c color has a hue of 85.9 degrees, a saturation of 47.93% and a lightness of 33.1%.
#5a7d2c hex color contains mainly GREEN.
The closest web safe color of #5a7d2c is #666633
#5a7d2c hex color has a decimal value of 5930284.
HEX | 5a7d2c | #5a7d2c |
---|---|---|
RGB | 90, 125, 44 | rgb(90, 125, 44) |
RGB Percent | 35.29, 49.02, 17.25 | rgb(35.29, 49.02, 17.25) |
CMYK | 28, 0, 65, 51 | |
HSL | 85.9°, 47.93, 33.1 | hsl(85.9, 47.93%, 33.1%) |
HSV | 85.9°, 64.8, 49 |
XYZ | 12.005, 17.023, 5.036 |
---|---|
Hunter Lab | 41.259, -20.265, 21.644 |
CIE-LAB | 48.289, -26.24, 39.052 |
CIE-LCH | 48.289, 47.049, 123.898 |
CIE-LUV | 28, 0, 64.8, 50.98 |
Web Safe | 666633 |
RGB percent of color #5a7d2c
CMYK percent of color #5a7d2c
Text with hexadecimal color #5a7d2c
This text has a font color of #5a7d2c
<p style="color:#5a7d2c">Text here</p>
#5a7d2c Background Color
This box has a background color of #5a7d2c
<div style="background-color:#5a7d2c">Text here</div>
#5a7d2c Border Color
This box has a border color of #5a7d2c
<div style="border: 4px solid #5a7d2c">Text here</div>
CSS codes
<p style="color:#5a7d2c">Text here</p>
<div style="background-color:#5a7d2c">Text here</div>
<div style="border: 4px solid #5a7d2c">Text here</div>
#5a7d2c Color on white background
This is how a font and box color of #5a7d2c will look
on a white background.
#5a7d2c Color on black background
This is how a font and box color of #5a7d2c hex color will look
on a black background.