#2EA42A#2EA42A

#2EA42A is a light, vivid green. Relative luminance 0.273; OKLCH L 63.1% C 0.189 H 142.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2EA42A
RGBrgb(46, 164, 42)
HSLhsl(118, 59%, 40%)
HSVhsv(118, 74%, 64%)
CMYKcmyk(72%, 0%, 74.4%, 35.7%)
CIE-LABlab(59.25, -55.24, 50.87)
CIE-LCHlch(59.25, 75.09, 137.36°)
OKLaboklab(63.05% -0.1501 0.1151)
OKLCHoklch(63.05% 0.189 142.5)
XYZxyz(14.8192, 27.2973, 6.6780)
Luminance0.2730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EA42A #A02AA4
analogous
#6BA42A #2EA42A #2AA463
triadic
#2EA42A #2A2EA4 #A42A2E
tetradic
#2EA42A #2A6BA4 #A02AA4 #A4632A
square
#2EA42A #2A6BA4 #A02AA4 #A4632A
split-complementary
#2EA42A #632AA4 #A42A6B
monochromatic
#134311 #20731E #2EA42A #42CD3E #72DA6E

Accessibility & contrast

On white

3.25
#2EA42A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#2EA42A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2EA42A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EA42A#FFFFFF#000000##000000
##2EA42A1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89413
Deuteranopia (green-blind)
#9A8B37
Tritanopia (blue-blind)
#069F8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #2ea42a;
/* rgb */ color: rgb(46, 164, 42);
/* oklch */ color: oklch(63.1% 0.189 142.5);
Tailwind
colors: {
  custom: {
    50: '#79c06c',
    500: '#2ea42a',
    950: '#000000',
  },
}
SCSS
$custom: #2ea42a;
$custom-light: #79c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#2ea42a",
  "rgb": {
    "r": 46,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 118.033,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63054,
    "c": 0.18916,
    "h": 142.5
  },
  "luminance": 0.27299
}

Semantic roles & 50–950 ramp

primary
#2EA42A
secondary
#BE69C1
accent
#45E2DD
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2EA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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