#2EB242#2EB242

#2EB242 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.1% C 0.189 H 145.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2EB242
RGBrgb(46, 178, 66)
HSLhsl(129, 59%, 44%)
HSVhsv(129, 74%, 70%)
CMYKcmyk(74.2%, 0%, 62.9%, 30.2%)
CIE-LABlab(64.01, -57.58, 46.13)
CIE-LCHlch(64.01, 73.78, 141.30°)
OKLaboklab(67.07% -0.1554 0.1078)
OKLCHoklch(67.07% 0.189 145.2)
XYZxyz(18.0292, 32.8129, 10.5365)
Luminance0.3281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EB242 #B22E9E
analogous
#5CB22E #2EB242 #2EB284
triadic
#2EB242 #422EB2 #B2422E
tetradic
#2EB242 #2E5CB2 #B22E9E #B2842E
square
#2EB242 #2E5CB2 #B22E9E #B2842E
split-complementary
#2EB242 #842EB2 #B22E5C
monochromatic
#15511E #218130 #2EB242 #4CD160 #7DDD8C

Accessibility & contrast

On white

2.78
#2EB242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#2EB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2EB242
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EB242#FFFFFF#000000##000000
##2EB2421.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A135
Deuteranopia (green-blind)
#A6974C
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2eb242;
/* rgb */ color: rgb(46, 178, 66);
/* oklch */ color: oklch(67.1% 0.189 145.2);
Tailwind
colors: {
  custom: {
    50: '#7bca7b',
    500: '#2eb242',
    950: '#000000',
  },
}
SCSS
$custom: #2eb242;
$custom-light: #7bca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2eb242",
  "rgb": {
    "r": 46,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 129.091,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67066,
    "c": 0.18916,
    "h": 145.2
  },
  "luminance": 0.32815
}

Semantic roles & 50–950 ramp

primary
#2EB242
secondary
#C676BA
accent
#46CAE2
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2EB242

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

Preview Lab → · Contrast checker → · Palette generator →

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