#2E9D40#2E9D40

#2E9D40 is a mid, vivid green. Relative luminance 0.251; OKLCH L 61.4% C 0.165 H 145.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2E9D40
RGBrgb(46, 157, 64)
HSLhsl(130, 55%, 40%)
HSVhsv(130, 71%, 62%)
CMYKcmyk(70.7%, 0%, 59.2%, 38.4%)
CIE-LABlab(57.14, -50.51, 39.16)
CIE-LCHlch(57.14, 63.91, 142.21°)
OKLaboklab(61.37% -0.1363 0.0927)
OKLCHoklch(61.37% 0.165 145.8)
XYZxyz(14.1081, 25.0634, 8.9437)
Luminance0.2506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E9D40 #9D2E8B
analogous
#539D2E #2E9D40 #2E9D78
triadic
#2E9D40 #402E9D #9D402E
tetradic
#2E9D40 #2E539D #9D2E8B #9D782E
square
#2E9D40 #2E539D #9D2E8B #9D782E
split-complementary
#2E9D40 #782E9D #9D2E53
monochromatic
#123E19 #206E2D #2E9D40 #41C757 #70D581

Accessibility & contrast

On white

3.49
#2E9D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#2E9D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E9D40
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E9D40#FFFFFF#000000##000000
##2E9D401.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8F37
Deuteranopia (green-blind)
#928647
Tritanopia (blue-blind)
#009989
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2e9d40;
/* rgb */ color: rgb(46, 157, 64);
/* oklch */ color: oklch(61.4% 0.165 145.8);
Tailwind
colors: {
  custom: {
    50: '#77bb78',
    500: '#2e9d40',
    950: '#000000',
  },
}
SCSS
$custom: #2e9d40;
$custom-light: #77bb78;
$custom-dark: #000000;
JSON
{
  "hex": "#2e9d40",
  "rgb": {
    "r": 46,
    "g": 157,
    "b": 64
  },
  "hsl": {
    "h": 129.73,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61366,
    "c": 0.16485,
    "h": 145.8
  },
  "luminance": 0.25065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E9D40

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

Preview Lab → · Contrast checker → · Palette generator →

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