In RGB color space, #5a7f2e hex color has a red value of 90, a green value of 127 and a blue value of 46.
In CMYK color space (used in color printing), #5a7f2e hex color is composed of 29.13% cyan, 0% magenta, 63.78% yellow and 50.2% black.
#5a7f2e color has a hue of 87.4 degrees, a saturation of 46.82% and a lightness of 33.9%.
#5a7f2e hex color contains mainly GREEN.
The closest web safe color of #5a7f2e is #666633
#5a7f2e hex color has a decimal value of 5930798.
HEX | 5a7f2e | #5a7f2e |
---|---|---|
RGB | 90, 127, 46 | rgb(90, 127, 46) |
RGB Percent | 35.29, 49.8, 18.04 | rgb(35.29, 49.8, 18.04) |
CMYK | 29, 0, 64, 50 | |
HSL | 87.4°, 46.82, 33.9 | hsl(87.4, 46.82%, 33.9%) |
HSV | 87.4°, 63.8, 49.8 |
XYZ | 12.299, 17.55, 5.324 |
---|---|
Hunter Lab | 41.893, -20.908, 21.79 |
CIE-LAB | 48.946, -27.039, 38.841 |
CIE-LCH | 48.946, 47.326, 124.844 |
CIE-LUV | 29.13, 0, 63.78, 50.2 |
Web Safe | 666633 |
RGB percent of color #5a7f2e
CMYK percent of color #5a7f2e
Text with hexadecimal color #5a7f2e
This text has a font color of #5a7f2e
<p style="color:#5a7f2e">Text here</p>
#5a7f2e Background Color
This box has a background color of #5a7f2e
<div style="background-color:#5a7f2e">Text here</div>
#5a7f2e Border Color
This box has a border color of #5a7f2e
<div style="border: 4px solid #5a7f2e">Text here</div>
CSS codes
<p style="color:#5a7f2e">Text here</p>
<div style="background-color:#5a7f2e">Text here</div>
<div style="border: 4px solid #5a7f2e">Text here</div>
#5a7f2e Color on white background
This is how a font and box color of #5a7f2e will look
on a white background.
#5a7f2e Color on black background
This is how a font and box color of #5a7f2e hex color will look
on a black background.