#2EA42B#2EA42B

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

Color values

HEX#2EA42B
RGBrgb(46, 164, 43)
HSLhsl(119, 58%, 41%)
HSVhsv(119, 74%, 64%)
CMYKcmyk(72%, 0%, 73.8%, 35.7%)
CIE-LABlab(59.26, -55.15, 50.50)
CIE-LCHlch(59.26, 74.78, 137.52°)
OKLaboklab(63.06% -0.1499 0.1144)
OKLCHoklch(63.06% 0.189 142.6)
XYZxyz(14.8373, 27.3045, 6.7734)
Luminance0.2731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EA42B #A12BA4
analogous
#6BA42B #2EA42B #2BA464
triadic
#2EA42B #2B2EA4 #A42B2E
tetradic
#2EA42B #2B6BA4 #A12BA4 #A4642B
square
#2EA42B #2B6BA4 #A12BA4 #A4642B
split-complementary
#2EA42B #642BA4 #A42B6B
monochromatic
#134312 #20741E #2EA42B #43CD3F #73D970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2EA42B#FFFFFF#000000##000000
##2EA42B1.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)
#A89415
Deuteranopia (green-blind)
#9A8B38
Tritanopia (blue-blind)
#059F8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #2ea42b;
/* rgb */ color: rgb(46, 164, 43);
/* oklch */ color: oklch(63.1% 0.189 142.6);
Tailwind
colors: {
  custom: {
    50: '#79c06c',
    500: '#2ea42b',
    950: '#000000',
  },
}
SCSS
$custom: #2ea42b;
$custom-light: #79c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#2ea42b",
  "rgb": {
    "r": 46,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 118.512,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63062,
    "c": 0.18856,
    "h": 142.6
  },
  "luminance": 0.27306
}

Semantic roles & 50–950 ramp

primary
#2EA42B
secondary
#BE6AC1
accent
#46E2DE
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2EA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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