In RGB color space, #2a7c21 hex color has a red value of 42, a green value of 124 and a blue value of 33.
In CMYK color space (used in color printing), #2a7c21 hex color is composed of 66.13% cyan, 0% magenta, 73.39% yellow and 51.37% black.
#2a7c21 color has a hue of 114.1 degrees, a saturation of 57.96% and a lightness of 30.8%.
#2a7c21 hex color contains mainly GREEN.
The closest web safe color of #2a7c21 is #336633
#2a7c21 hex color has a decimal value of 2784289.
HEX | 2a7c21 | #2a7c21 |
---|---|---|
RGB | 42, 124, 33 | rgb(42, 124, 33) |
RGB Percent | 16.47, 48.63, 12.94 | rgb(16.47, 48.63, 12.94) |
CMYK | 66, 0, 73, 51 | |
HSL | 114.1°, 57.96, 30.8 | hsl(114.1, 57.96%, 30.8%) |
HSV | 114.1°, 73.4, 48.6 |
XYZ | 8.437, 15.017, 3.893 |
---|---|
Hunter Lab | 38.752, -28.953, 21.17 |
CIE-LAB | 45.657, -42.723, 40.418 |
CIE-LCH | 45.657, 58.812, 136.588 |
CIE-LUV | 66.13, 0, 73.39, 51.37 |
Web Safe | 336633 |
RGB percent of color #2a7c21
CMYK percent of color #2a7c21
Text with hexadecimal color #2a7c21
This text has a font color of #2a7c21
<p style="color:#2a7c21">Text here</p>
#2a7c21 Background Color
This box has a background color of #2a7c21
<div style="background-color:#2a7c21">Text here</div>
#2a7c21 Border Color
This box has a border color of #2a7c21
<div style="border: 4px solid #2a7c21">Text here</div>
CSS codes
<p style="color:#2a7c21">Text here</p>
<div style="background-color:#2a7c21">Text here</div>
<div style="border: 4px solid #2a7c21">Text here</div>
#2a7c21 Color on white background
This is how a font and box color of #2a7c21 will look
on a white background.
#2a7c21 Color on black background
This is how a font and box color of #2a7c21 hex color will look
on a black background.