In RGB color space, #2ab21c hex color has a red value of 42, a green value of 178 and a blue value of 28.
In CMYK color space (used in color printing), #2ab21c hex color is composed of 76.4% cyan, 0% magenta, 84.27% yellow and 30.2% black.
#2ab21c color has a hue of 114.4 degrees, a saturation of 72.82% and a lightness of 40.4%.
#2ab21c hex color contains mainly GREEN.
The closest web safe color of #2ab21c is #339933
#2ab21c hex color has a decimal value of 2798108.
HEX | 2ab21c | #2ab21c |
---|---|---|
RGB | 42, 178, 28 | rgb(42, 178, 28) |
RGB Percent | 16.47, 69.8, 10.98 | rgb(16.47, 69.8, 10.98) |
CMYK | 76, 0, 84, 30 | |
HSL | 114.4°, 72.82, 40.4 | hsl(114.4, 72.82%, 40.4%) |
HSV | 114.4°, 84.3, 69.8 |
XYZ | 17.085, 32.417, 6.455 |
---|---|
Hunter Lab | 56.936, -46.075, 33.133 |
CIE-LAB | 63.686, -61.293, 59.405 |
CIE-LCH | 63.686, 85.357, 135.896 |
CIE-LUV | 76.4, 0, 84.27, 30.2 |
Web Safe | 339933 |
RGB percent of color #2ab21c
CMYK percent of color #2ab21c
Text with hexadecimal color #2ab21c
This text has a font color of #2ab21c
<p style="color:#2ab21c">Text here</p>
#2ab21c Background Color
This box has a background color of #2ab21c
<div style="background-color:#2ab21c">Text here</div>
#2ab21c Border Color
This box has a border color of #2ab21c
<div style="border: 4px solid #2ab21c">Text here</div>
CSS codes
<p style="color:#2ab21c">Text here</p>
<div style="background-color:#2ab21c">Text here</div>
<div style="border: 4px solid #2ab21c">Text here</div>
#2ab21c Color on white background
This is how a font and box color of #2ab21c will look
on a white background.
#2ab21c Color on black background
This is how a font and box color of #2ab21c hex color will look
on a black background.