#2EC940#2EC940

#2EC940 is a light, highly saturated green. Relative luminance 0.427; OKLCH L 73.2% C 0.217 H 144.4°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2EC940
RGBrgb(46, 201, 64)
HSLhsl(127, 63%, 48%)
HSVhsv(127, 77%, 79%)
CMYKcmyk(77.1%, 0%, 68.2%, 21.2%)
CIE-LABlab(71.37, -65.28, 55.04)
CIE-LCHlch(71.37, 85.39, 139.86°)
OKLaboklab(73.17% -0.1764 0.1265)
OKLCHoklch(73.17% 0.217 144.4)
XYZxyz(22.9372, 42.7216, 11.8867)
Luminance0.4272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2EC940 #C92EB7
analogous
#69C92E #2EC940 #2EC98D
triadic
#2EC940 #402EC9 #C9402E
tetradic
#2EC940 #2E69C9 #C92EB7 #C98D2E
square
#2EC940 #2E69C9 #C92EB7 #C98D2E
split-complementary
#2EC940 #8D2EC9 #C92E69
monochromatic
#176520 #239730 #2EC940 #5BD969 #8DE597

Accessibility & contrast

On white

2.20
#2EC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#2EC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2EC940
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2EC940#FFFFFF#000000##000000
##2EC9401.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62D
Deuteranopia (green-blind)
#BCAA4D
Tritanopia (blue-blind)
#00C4AD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #2ec940;
/* rgb */ color: rgb(46, 201, 64);
/* oklch */ color: oklch(73.2% 0.217 144.4);
Tailwind
colors: {
  custom: {
    50: '#81db7b',
    500: '#2ec940',
    950: '#000000',
  },
}
SCSS
$custom: #2ec940;
$custom-light: #81db7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2ec940",
  "rgb": {
    "r": 46,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 126.968,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73167,
    "c": 0.21708,
    "h": 144.4
  },
  "luminance": 0.42724
}

Semantic roles & 50–950 ramp

primary
#2EC940
secondary
#CF84C6
accent
#42D3E6
background
#F8FDF7
surface
#F0FBEE
border
#CBD4C9
text
#0C150A
muted
#7D837C

Preview Lab

Preview with #2EC940

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

Preview Lab → · Contrast checker → · Palette generator →

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