#2EA22A#2EA22A

#2EA22A is a light, vivid green. Relative luminance 0.266; OKLCH L 62.5% C 0.187 H 142.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2EA22A
RGBrgb(46, 162, 42)
HSLhsl(118, 59%, 40%)
HSVhsv(118, 74%, 64%)
CMYKcmyk(71.6%, 0%, 74.1%, 36.5%)
CIE-LABlab(58.59, -54.56, 50.20)
CIE-LCHlch(58.59, 74.14, 137.39°)
OKLaboklab(62.51% -0.1483 0.1137)
OKLCHoklch(62.51% 0.187 142.5)
XYZxyz(14.4641, 26.5871, 6.5596)
Luminance0.2659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EA22A #9E2AA2
analogous
#6AA22A #2EA22A #2AA262
triadic
#2EA22A #2A2EA2 #A22A2E
tetradic
#2EA22A #2A6AA2 #9E2AA2 #A2622A
square
#2EA22A #2A6AA2 #9E2AA2 #A2622A
split-complementary
#2EA22A #622AA2 #A22A6A
monochromatic
#124111 #20711D #2EA22A #41CD3D #71D96D

Accessibility & contrast

On white

3.32
#2EA22A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#2EA22A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2EA22A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EA22A#FFFFFF#000000##000000
##2EA22A1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69214
Deuteranopia (green-blind)
#988937
Tritanopia (blue-blind)
#089D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2ea22a;
/* rgb */ color: rgb(46, 162, 42);
/* oklch */ color: oklch(62.5% 0.187 142.5);
Tailwind
colors: {
  custom: {
    50: '#79bf6b',
    500: '#2ea22a',
    950: '#000000',
  },
}
SCSS
$custom: #2ea22a;
$custom-light: #79bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2ea22a",
  "rgb": {
    "r": 46,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 118,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.62508,
    "c": 0.18687,
    "h": 142.5
  },
  "luminance": 0.26589
}

Semantic roles & 50–950 ramp

primary
#2EA22A
secondary
#BD68C0
accent
#46E2DD
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2EA22A

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

Preview Lab → · Contrast checker → · Palette generator →

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