In RGB color space, #5a7f2d hex color has a red value of 90, a green value of 127 and a blue value of 45.
In CMYK color space (used in color printing), #5a7f2d hex color is composed of 29.13% cyan, 0% magenta, 64.57% yellow and 50.2% black.
#5a7f2d color has a hue of 87.1 degrees, a saturation of 47.67% and a lightness of 33.7%.
#5a7f2d hex color contains mainly GREEN.
The closest web safe color of #5a7f2d is #666633
#5a7f2d hex color has a decimal value of 5930797.
HEX | 5a7f2d | #5a7f2d |
---|---|---|
RGB | 90, 127, 45 | rgb(90, 127, 45) |
RGB Percent | 35.29, 49.8, 17.65 | rgb(35.29, 49.8, 17.65) |
CMYK | 29, 0, 65, 50 | |
HSL | 87.1°, 47.67, 33.7 | hsl(87.1, 47.67%, 33.7%) |
HSV | 87.1°, 64.6, 49.8 |
XYZ | 12.279, 17.542, 5.221 |
---|---|
Hunter Lab | 41.883, -20.964, 21.927 |
CIE-LAB | 48.936, -27.134, 39.298 |
CIE-LCH | 48.936, 47.755, 124.624 |
CIE-LUV | 29.13, 0, 64.57, 50.2 |
Web Safe | 666633 |
RGB percent of color #5a7f2d
CMYK percent of color #5a7f2d
Text with hexadecimal color #5a7f2d
This text has a font color of #5a7f2d
<p style="color:#5a7f2d">Text here</p>
#5a7f2d Background Color
This box has a background color of #5a7f2d
<div style="background-color:#5a7f2d">Text here</div>
#5a7f2d Border Color
This box has a border color of #5a7f2d
<div style="border: 4px solid #5a7f2d">Text here</div>
CSS codes
<p style="color:#5a7f2d">Text here</p>
<div style="background-color:#5a7f2d">Text here</div>
<div style="border: 4px solid #5a7f2d">Text here</div>
#5a7f2d Color on white background
This is how a font and box color of #5a7f2d will look
on a white background.
#5a7f2d Color on black background
This is how a font and box color of #5a7f2d hex color will look
on a black background.