#2EA842#2EA842

#2EA842 is a light, vivid green. Relative luminance 0.290; OKLCH L 64.4% C 0.177 H 145.6°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2EA842
RGBrgb(46, 168, 66)
HSLhsl(130, 57%, 42%)
HSVhsv(130, 73%, 66%)
CMYKcmyk(72.6%, 0%, 60.7%, 34.1%)
CIE-LABlab(60.76, -54.15, 42.42)
CIE-LCHlch(60.76, 68.79, 141.93°)
OKLaboklab(64.38% -0.1461 0.0999)
OKLCHoklch(64.38% 0.177 145.6)
XYZxyz(16.1116, 28.9776, 9.8973)
Luminance0.2898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EA842 #A82E94
analogous
#57A82E #2EA842 #2EA87F
triadic
#2EA842 #422EA8 #A8422E
tetradic
#2EA842 #2E57A8 #A82E94 #A87F2E
square
#2EA842 #2E57A8 #A82E94 #A87F2E
split-complementary
#2EA842 #7F2EA8 #A82E57
monochromatic
#14481C #21782F #2EA842 #47CD5D #77DA87

Accessibility & contrast

On white

3.09
#2EA842 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#2EA842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2EA842
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EA842#FFFFFF#000000##000000
##2EA8421.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9937
Deuteranopia (green-blind)
#9C8F4A
Tritanopia (blue-blind)
#00A492
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #2ea842;
/* rgb */ color: rgb(46, 168, 66);
/* oklch */ color: oklch(64.4% 0.177 145.6);
Tailwind
colors: {
  custom: {
    50: '#79c37a',
    500: '#2ea842',
    950: '#000000',
  },
}
SCSS
$custom: #2ea842;
$custom-light: #79c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#2ea842",
  "rgb": {
    "r": 46,
    "g": 168,
    "b": 66
  },
  "hsl": {
    "h": 129.836,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64375,
    "c": 0.17701,
    "h": 145.6
  },
  "luminance": 0.28979
}

Semantic roles & 50–950 ramp

primary
#2EA842
secondary
#C270B4
accent
#48C7E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #2EA842

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

Preview Lab → · Contrast checker → · Palette generator →

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