⤺ color picker

#2ab11e Color Hex

Hex color #2ab11e, RGB(42, 177, 30) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #2ab11e is a shade of green. In a RGB color space it is composed of 16.47% red, 69.41% green and 11.76% blue. In HSL notation it has 115.1° hue, 71% saturation and 40.6% lightness. The process color (CMYK) is combination of 76.27% cyan, 0% magenta, 83.05% yellow and 30.59% key (black). The closest short hexadecimal code of #2ab11e is #2b1.

Color information

  • #2ab11e is a shade of green.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 76.27%
    • Magenta: 0%
    • Yellow: 83.05%
    • Key color - black: 30.59%
  • In the HSL model coordinates are:
    • Hue: 115.1° degrees
    • Saturation: 71%
    • Lightness: 40.6%
  • The values in the RGB color space are:
    • Red: 42 (16.47%)
    • Green: 177 (69.41%)
    • Blue: 30 (11.76%)


C: 76.27%, M: 0%, Y: 83.05%, K: 30.59%
R: 42, G: 177, B: 30
H: 115.1°, S: 71%, L: 40.6%

Color harmonies

#2ab11e color HTML and CSS codes

Example CSS code:

.setFontColor { color: #2ab11e; }
.setBackgroundColor { background-color: #2ab11e; }

#2ab11e text/font color

How to set font color?

<p style="color:#2ab11e">Font color is #2ab11e.</p>

Font color is #2ab11e.

Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything. Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore

#2ab11e background color

How to set background color?

<div style="background-color:#2ab11e">Background color is #2ab11e.</div>

Background color is #2ab11e.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant