#2E9E40#2E9E40

#2E9E40 is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.6% C 0.166 H 145.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2E9E40
RGBrgb(46, 158, 64)
HSLhsl(130, 55%, 40%)
HSVhsv(130, 71%, 62%)
CMYKcmyk(70.9%, 0%, 59.5%, 38%)
CIE-LABlab(57.47, -50.87, 39.54)
CIE-LCHlch(57.47, 64.43, 142.14°)
OKLaboklab(61.64% -0.1373 0.0935)
OKLCHoklch(61.64% 0.166 145.7)
XYZxyz(14.2780, 25.4032, 9.0003)
Luminance0.2540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E9E40 #9E2E8C
analogous
#549E2E #2E9E40 #2E9E78
triadic
#2E9E40 #402E9E #9E402E
tetradic
#2E9E40 #2E549E #9E2E8C #9E782E
square
#2E9E40 #2E549E #9E2E8C #9E782E
split-complementary
#2E9E40 #782E9E #9E2E54
monochromatic
#123F1A #206F2D #2E9E40 #41C857 #71D681

Accessibility & contrast

On white

3.45
#2E9E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#2E9E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E9E40
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E9E40#FFFFFF#000000##000000
##2E9E401.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09036
Deuteranopia (green-blind)
#938648
Tritanopia (blue-blind)
#009A89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2e9e40;
/* rgb */ color: rgb(46, 158, 64);
/* oklch */ color: oklch(61.6% 0.166 145.7);
Tailwind
colors: {
  custom: {
    50: '#77bc78',
    500: '#2e9e40',
    950: '#000000',
  },
}
SCSS
$custom: #2e9e40;
$custom-light: #77bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#2e9e40",
  "rgb": {
    "r": 46,
    "g": 158,
    "b": 64
  },
  "hsl": {
    "h": 129.643,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.61639,
    "c": 0.16613,
    "h": 145.7
  },
  "luminance": 0.25405
}

Semantic roles & 50–950 ramp

primary
#2E9E40
secondary
#BD6BB0
accent
#4AC6DE
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2E9E40

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

Preview Lab → · Contrast checker → · Palette generator →

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