In RGB color space, #5a7c2b hex color has a red value of 90, a green value of 124 and a blue value of 43.
In CMYK color space (used in color printing), #5a7c2b hex color is composed of 27.42% cyan, 0% magenta, 65.32% yellow and 51.37% black.
#5a7c2b color has a hue of 85.2 degrees, a saturation of 48.5% and a lightness of 32.7%.
#5a7c2b hex color contains mainly GREEN.
The closest web safe color of #5a7c2b is #666633
#5a7c2b hex color has a decimal value of 5930027.
HEX | 5a7c2b | #5a7c2b |
---|---|---|
RGB | 90, 124, 43 | rgb(90, 124, 43) |
RGB Percent | 35.29, 48.63, 16.86 | rgb(35.29, 48.63, 16.86) |
CMYK | 27, 0, 65, 51 | |
HSL | 85.2°, 48.5, 32.7 | hsl(85.2, 48.5%, 32.7%) |
HSV | 85.2°, 65.3, 48.6 |
XYZ | 11.86, 16.763, 4.896 |
---|---|
Hunter Lab | 40.943, -19.943, 21.57 |
CIE-LAB | 47.96, -25.836, 39.156 |
CIE-LCH | 47.96, 46.912, 123.418 |
CIE-LUV | 27.42, 0, 65.32, 51.37 |
Web Safe | 666633 |
RGB percent of color #5a7c2b
CMYK percent of color #5a7c2b
Text with hexadecimal color #5a7c2b
This text has a font color of #5a7c2b
<p style="color:#5a7c2b">Text here</p>
#5a7c2b Background Color
This box has a background color of #5a7c2b
<div style="background-color:#5a7c2b">Text here</div>
#5a7c2b Border Color
This box has a border color of #5a7c2b
<div style="border: 4px solid #5a7c2b">Text here</div>
CSS codes
<p style="color:#5a7c2b">Text here</p>
<div style="background-color:#5a7c2b">Text here</div>
<div style="border: 4px solid #5a7c2b">Text here</div>
#5a7c2b Color on white background
This is how a font and box color of #5a7c2b will look
on a white background.
#5a7c2b Color on black background
This is how a font and box color of #5a7c2b hex color will look
on a black background.