In RGB color space, #5a7840 hex color has a red value of 90, a green value of 120 and a blue value of 64.
In CMYK color space (used in color printing), #5a7840 hex color is composed of 25% cyan, 0% magenta, 46.67% yellow and 52.94% black.
#5a7840 color has a hue of 92.1 degrees, a saturation of 30.43% and a lightness of 36.1%.
#5a7840 hex color contains mainly GREEN.
The closest web safe color of #5a7840 is #666633
#5a7840 hex color has a decimal value of 5929024.
HEX | 5a7840 | #5a7840 |
---|---|---|
RGB | 90, 120, 64 | rgb(90, 120, 64) |
RGB Percent | 35.29, 47.06, 25.1 | rgb(35.29, 47.06, 25.1) |
CMYK | 25, 0, 47, 53 | |
HSL | 92.1°, 30.43, 36.1 | hsl(92.1, 30.43%, 36.1%) |
HSV | 92.1°, 46.7, 47.1 |
XYZ | 11.858, 15.977, 7.309 |
---|---|
Hunter Lab | 39.971, -16.995, 17.138 |
CIE-LAB | 46.944, -21.472, 27.242 |
CIE-LCH | 46.944, 34.687, 128.245 |
CIE-LUV | 25, 0, 46.67, 52.94 |
Web Safe | 666633 |
RGB percent of color #5a7840
CMYK percent of color #5a7840
Text with hexadecimal color #5a7840
This text has a font color of #5a7840
<p style="color:#5a7840">Text here</p>
#5a7840 Background Color
This box has a background color of #5a7840
<div style="background-color:#5a7840">Text here</div>
#5a7840 Border Color
This box has a border color of #5a7840
<div style="border: 4px solid #5a7840">Text here</div>
CSS codes
<p style="color:#5a7840">Text here</p>
<div style="background-color:#5a7840">Text here</div>
<div style="border: 4px solid #5a7840">Text here</div>
#5a7840 Color on white background
This is how a font and box color of #5a7840 will look
on a white background.
#5a7840 Color on black background
This is how a font and box color of #5a7840 hex color will look
on a black background.