In RGB color space, #5a7c12 hex color has a red value of 90, a green value of 124 and a blue value of 18.
In CMYK color space (used in color printing), #5a7c12 hex color is composed of 27.42% cyan, 0% magenta, 85.48% yellow and 51.37% black.
#5a7c12 color has a hue of 79.2 degrees, a saturation of 74.65% and a lightness of 27.8%.
#5a7c12 hex color contains mainly GREEN.
The closest web safe color of #5a7c12 is #666600
#5a7c12 hex color has a decimal value of 5930002.
HEX | 5a7c12 | #5a7c12 |
---|---|---|
RGB | 90, 124, 18 | rgb(90, 124, 18) |
RGB Percent | 35.29, 48.63, 7.06 | rgb(35.29, 48.63, 7.06) |
CMYK | 27, 0, 85, 51 | |
HSL | 79.2°, 74.65, 27.8 | hsl(79.2, 74.65%, 27.8%) |
HSV | 79.2°, 85.5, 48.6 |
XYZ | 11.533, 16.633, 3.175 |
---|---|
Hunter Lab | 40.784, -20.894, 23.933 |
CIE-LAB | 47.794, -27.439, 48.431 |
CIE-LCH | 47.794, 55.664, 119.534 |
CIE-LUV | 27.42, 0, 85.48, 51.37 |
Web Safe | 666600 |
RGB percent of color #5a7c12
CMYK percent of color #5a7c12
Text with hexadecimal color #5a7c12
This text has a font color of #5a7c12
<p style="color:#5a7c12">Text here</p>
#5a7c12 Background Color
This box has a background color of #5a7c12
<div style="background-color:#5a7c12">Text here</div>
#5a7c12 Border Color
This box has a border color of #5a7c12
<div style="border: 4px solid #5a7c12">Text here</div>
CSS codes
<p style="color:#5a7c12">Text here</p>
<div style="background-color:#5a7c12">Text here</div>
<div style="border: 4px solid #5a7c12">Text here</div>
#5a7c12 Color on white background
This is how a font and box color of #5a7c12 will look
on a white background.
#5a7c12 Color on black background
This is how a font and box color of #5a7c12 hex color will look
on a black background.