In RGB color space, #5a7f21 hex color has a red value of 90, a green value of 127 and a blue value of 33.
In CMYK color space (used in color printing), #5a7f21 hex color is composed of 29.13% cyan, 0% magenta, 74.02% yellow and 50.2% black.
#5a7f21 color has a hue of 83.6 degrees, a saturation of 58.75% and a lightness of 31.4%.
#5a7f21 hex color contains mainly GREEN.
The closest web safe color of #5a7f21 is #666633
#5a7f21 hex color has a decimal value of 5930785.
HEX | 5a7f21 | #5a7f21 |
---|---|---|
RGB | 90, 127, 33 | rgb(90, 127, 33) |
RGB Percent | 35.29, 49.8, 12.94 | rgb(35.29, 49.8, 12.94) |
CMYK | 29, 0, 74, 50 | |
HSL | 83.6°, 58.75, 31.4 | hsl(83.6, 58.75%, 31.4%) |
HSV | 83.6°, 74, 49.8 |
XYZ | 12.08, 17.462, 4.173 |
---|---|
Hunter Lab | 41.788, -21.527, 23.33 |
CIE-LAB | 48.837, -28.081, 44.357 |
CIE-LCH | 48.837, 52.498, 122.337 |
CIE-LUV | 29.13, 0, 74.02, 50.2 |
Web Safe | 666633 |
RGB percent of color #5a7f21
CMYK percent of color #5a7f21
Text with hexadecimal color #5a7f21
This text has a font color of #5a7f21
<p style="color:#5a7f21">Text here</p>
#5a7f21 Background Color
This box has a background color of #5a7f21
<div style="background-color:#5a7f21">Text here</div>
#5a7f21 Border Color
This box has a border color of #5a7f21
<div style="border: 4px solid #5a7f21">Text here</div>
CSS codes
<p style="color:#5a7f21">Text here</p>
<div style="background-color:#5a7f21">Text here</div>
<div style="border: 4px solid #5a7f21">Text here</div>
#5a7f21 Color on white background
This is how a font and box color of #5a7f21 will look
on a white background.
#5a7f21 Color on black background
This is how a font and box color of #5a7f21 hex color will look
on a black background.