In RGB color space, #5a7d0c hex color has a red value of 90, a green value of 125 and a blue value of 12.
In CMYK color space (used in color printing), #5a7d0c hex color is composed of 28% cyan, 0% magenta, 90.4% yellow and 50.98% black.
#5a7d0c color has a hue of 78.6 degrees, a saturation of 82.48% and a lightness of 26.9%.
#5a7d0c hex color contains mainly GREEN.
The closest web safe color of #5a7d0c is #666600
#5a7d0c hex color has a decimal value of 5930252.
HEX | 5a7d0c | #5a7d0c |
---|---|---|
RGB | 90, 125, 12 | rgb(90, 125, 12) |
RGB Percent | 35.29, 49.02, 4.71 | rgb(35.29, 49.02, 4.71) |
CMYK | 28, 0, 90, 51 | |
HSL | 78.6°, 82.48, 26.9 | hsl(78.6, 82.48%, 26.9%) |
HSV | 78.6°, 90.4, 49 |
XYZ | 11.616, 16.867, 2.991 |
---|---|
Hunter Lab | 41.069, -21.385, 24.431 |
CIE-LAB | 48.092, -28.131, 50.157 |
CIE-LCH | 48.092, 57.507, 119.286 |
CIE-LUV | 28, 0, 90.4, 50.98 |
Web Safe | 666600 |
RGB percent of color #5a7d0c
CMYK percent of color #5a7d0c
Text with hexadecimal color #5a7d0c
This text has a font color of #5a7d0c
<p style="color:#5a7d0c">Text here</p>
#5a7d0c Background Color
This box has a background color of #5a7d0c
<div style="background-color:#5a7d0c">Text here</div>
#5a7d0c Border Color
This box has a border color of #5a7d0c
<div style="border: 4px solid #5a7d0c">Text here</div>
CSS codes
<p style="color:#5a7d0c">Text here</p>
<div style="background-color:#5a7d0c">Text here</div>
<div style="border: 4px solid #5a7d0c">Text here</div>
#5a7d0c Color on white background
This is how a font and box color of #5a7d0c will look
on a white background.
#5a7d0c Color on black background
This is how a font and box color of #5a7d0c hex color will look
on a black background.