In RGB color space, #5a7e0f hex color has a red value of 90, a green value of 126 and a blue value of 15.
In CMYK color space (used in color printing), #5a7e0f hex color is composed of 28.57% cyan, 0% magenta, 88.1% yellow and 50.59% black.
#5a7e0f color has a hue of 79.5 degrees, a saturation of 78.72% and a lightness of 27.6%.
#5a7e0f hex color contains mainly GREEN.
The closest web safe color of #5a7e0f is #666600
#5a7e0f hex color has a decimal value of 5930511.
HEX | 5a7e0f | #5a7e0f |
---|---|---|
RGB | 90, 126, 15 | rgb(90, 126, 15) |
RGB Percent | 35.29, 49.41, 5.88 | rgb(35.29, 49.41, 5.88) |
CMYK | 29, 0, 88, 51 | |
HSL | 79.5°, 78.72, 27.6 | hsl(79.5, 78.72%, 27.6%) |
HSV | 79.5°, 88.1, 49.4 |
XYZ | 11.764, 17.13, 3.138 |
---|---|
Hunter Lab | 41.388, -21.694, 24.477 |
CIE-LAB | 48.423, -28.51, 49.756 |
CIE-LCH | 48.423, 57.345, 119.813 |
CIE-LUV | 28.57, 0, 88.1, 50.59 |
Web Safe | 666600 |
RGB percent of color #5a7e0f
CMYK percent of color #5a7e0f
Text with hexadecimal color #5a7e0f
This text has a font color of #5a7e0f
<p style="color:#5a7e0f">Text here</p>
#5a7e0f Background Color
This box has a background color of #5a7e0f
<div style="background-color:#5a7e0f">Text here</div>
#5a7e0f Border Color
This box has a border color of #5a7e0f
<div style="border: 4px solid #5a7e0f">Text here</div>
CSS codes
<p style="color:#5a7e0f">Text here</p>
<div style="background-color:#5a7e0f">Text here</div>
<div style="border: 4px solid #5a7e0f">Text here</div>
#5a7e0f Color on white background
This is how a font and box color of #5a7e0f will look
on a white background.
#5a7e0f Color on black background
This is how a font and box color of #5a7e0f hex color will look
on a black background.