In RGB color space, #2a7b40 hex color has a red value of 42, a green value of 123 and a blue value of 64.
In CMYK color space (used in color printing), #2a7b40 hex color is composed of 65.85% cyan, 0% magenta, 47.97% yellow and 51.76% black.
#2a7b40 color has a hue of 136.3 degrees, a saturation of 49.09% and a lightness of 32.4%.
#2a7b40 hex color contains mainly GREEN.
The closest web safe color of #2a7b40 is #336633
#2a7b40 hex color has a decimal value of 2784064.
HEX | 2a7b40 | #2a7b40 |
---|---|---|
RGB | 42, 123, 64 | rgb(42, 123, 64) |
RGB Percent | 16.47, 48.24, 25.1 | rgb(16.47, 48.24, 25.1) |
CMYK | 66, 0, 48, 52 | |
HSL | 136.3°, 49.09, 32.4 | hsl(136.3, 49.09%, 32.4%) |
HSV | 136.3°, 65.9, 48.2 |
XYZ | 8.963, 15.028, 7.279 |
---|---|
Hunter Lab | 38.766, -26.57, 16.003 |
CIE-LAB | 45.673, -38.246, 25.161 |
CIE-LCH | 45.673, 45.78, 146.66 |
CIE-LUV | 65.85, 0, 47.97, 51.76 |
Web Safe | 336633 |
RGB percent of color #2a7b40
CMYK percent of color #2a7b40
Text with hexadecimal color #2a7b40
This text has a font color of #2a7b40
<p style="color:#2a7b40">Text here</p>
#2a7b40 Background Color
This box has a background color of #2a7b40
<div style="background-color:#2a7b40">Text here</div>
#2a7b40 Border Color
This box has a border color of #2a7b40
<div style="border: 4px solid #2a7b40">Text here</div>
CSS codes
<p style="color:#2a7b40">Text here</p>
<div style="background-color:#2a7b40">Text here</div>
<div style="border: 4px solid #2a7b40">Text here</div>
#2a7b40 Color on white background
This is how a font and box color of #2a7b40 will look
on a white background.
#2a7b40 Color on black background
This is how a font and box color of #2a7b40 hex color will look
on a black background.