#2AA71E#2AA71E

#2AA71E is a light, vivid green. Relative luminance 0.282; OKLCH L 63.7% C 0.200 H 141.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2AA71E
RGBrgb(42, 167, 30)
HSLhsl(115, 70%, 39%)
HSVhsv(115, 82%, 65%)
CMYKcmyk(74.9%, 0%, 82%, 34.5%)
CIE-LABlab(60.09, -57.72, 55.57)
CIE-LCHlch(60.09, 80.13, 136.09°)
OKLaboklab(63.71% -0.1572 0.1232)
OKLCHoklch(63.71% 0.2 141.9)
XYZxyz(15.0070, 28.2217, 5.8845)
Luminance0.2822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA71E #9B1EA7
analogous
#6EA71E #2AA71E #1EA757
triadic
#2AA71E #1E2AA7 #A71E2A
tetradic
#2AA71E #1E6EA7 #9B1EA7 #A7571E
square
#2AA71E #1E6EA7 #9B1EA7 #A7571E
split-complementary
#2AA71E #571EA7 #A71E6E
monochromatic
#103F0B #1D7315 #2AA71E #39D92A #69E25D

Accessibility & contrast

On white

3.16
#2AA71E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#2AA71E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA71E
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA71E#FFFFFF#000000##000000
##2AA71E1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#00A28E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #2aa71e;
/* rgb */ color: rgb(42, 167, 30);
/* oklch */ color: oklch(63.7% 0.200 141.9);
Tailwind
colors: {
  custom: {
    50: '#79c267',
    500: '#2aa71e',
    950: '#000000',
  },
}
SCSS
$custom: #2aa71e;
$custom-light: #79c267;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa71e",
  "rgb": {
    "r": 42,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 114.745,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63708,
    "c": 0.19977,
    "h": 141.9
  },
  "luminance": 0.28223
}

Semantic roles & 50–950 ramp

primary
#2AA71E
secondary
#BD5BC6
accent
#3BECDD
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1306
muted
#7C827A

Preview Lab

Preview with #2AA71E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2AA71E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva