#2EA522#2EA522

#2EA522 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.3% C 0.195 H 141.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2EA522
RGBrgb(46, 165, 34)
HSLhsl(115, 66%, 39%)
HSVhsv(115, 79%, 65%)
CMYKcmyk(72.1%, 0%, 79.4%, 35.3%)
CIE-LABlab(59.53, -56.14, 53.87)
CIE-LCHlch(59.53, 77.81, 136.18°)
OKLaboklab(63.27% -0.153 0.1202)
OKLCHoklch(63.27% 0.195 141.8)
XYZxyz(14.8697, 27.6050, 6.0577)
Luminance0.2761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EA522 #9922A5
analogous
#70A522 #2EA522 #22A558
triadic
#2EA522 #222EA5 #A5222E
tetradic
#2EA522 #2270A5 #9922A5 #A55822
square
#2EA522 #2270A5 #9922A5 #A55822
split-complementary
#2EA522 #5822A5 #A52270
monochromatic
#12400D #207218 #2EA522 #3FD430 #6EDF63

Accessibility & contrast

On white

3.22
#2EA522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#2EA522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2EA522
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EA522#FFFFFF#000000##000000
##2EA5221.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#08A08D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #2ea522;
/* rgb */ color: rgb(46, 165, 34);
/* oklch */ color: oklch(63.3% 0.195 141.8);
Tailwind
colors: {
  custom: {
    50: '#7ac168',
    500: '#2ea522',
    950: '#000000',
  },
}
SCSS
$custom: #2ea522;
$custom-light: #7ac168;
$custom-dark: #000000;
JSON
{
  "hex": "#2ea522",
  "rgb": {
    "r": 46,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 114.504,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63273,
    "c": 0.19458,
    "h": 141.8
  },
  "luminance": 0.27607
}

Semantic roles & 50–950 ramp

primary
#2EA522
secondary
#BB5FC4
accent
#3FE9D9
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #2EA522

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

Preview Lab → · Contrast checker → · Palette generator →

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