In RGB color space, #5a7e0c hex color has a red value of 90, a green value of 126 and a blue value of 12.
In CMYK color space (used in color printing), #5a7e0c hex color is composed of 28.57% cyan, 0% magenta, 90.48% yellow and 50.59% black.
#5a7e0c color has a hue of 78.9 degrees, a saturation of 82.61% and a lightness of 27.1%.
#5a7e0c hex color contains mainly GREEN.
The closest web safe color of #5a7e0c is #666600
#5a7e0c hex color has a decimal value of 5930508.
HEX | 5a7e0c | #5a7e0c |
---|---|---|
RGB | 90, 126, 12 | rgb(90, 126, 12) |
RGB Percent | 35.29, 49.41, 4.71 | rgb(35.29, 49.41, 4.71) |
CMYK | 29, 0, 90, 51 | |
HSL | 78.9°, 82.61, 27.1 | hsl(78.9, 82.61%, 27.1%) |
HSV | 78.9°, 90.5, 49.4 |
XYZ | 11.744, 17.122, 3.034 |
---|---|
Hunter Lab | 41.379, -21.751, 24.618 |
CIE-LAB | 48.413, -28.608, 50.424 |
CIE-LCH | 48.413, 57.974, 119.568 |
CIE-LUV | 28.57, 0, 90.48, 50.59 |
Web Safe | 666600 |
RGB percent of color #5a7e0c
CMYK percent of color #5a7e0c
Text with hexadecimal color #5a7e0c
This text has a font color of #5a7e0c
<p style="color:#5a7e0c">Text here</p>
#5a7e0c Background Color
This box has a background color of #5a7e0c
<div style="background-color:#5a7e0c">Text here</div>
#5a7e0c Border Color
This box has a border color of #5a7e0c
<div style="border: 4px solid #5a7e0c">Text here</div>
CSS codes
<p style="color:#5a7e0c">Text here</p>
<div style="background-color:#5a7e0c">Text here</div>
<div style="border: 4px solid #5a7e0c">Text here</div>
#5a7e0c Color on white background
This is how a font and box color of #5a7e0c will look
on a white background.
#5a7e0c Color on black background
This is how a font and box color of #5a7e0c hex color will look
on a black background.