#2E9F40#2E9F40

#2E9F40 is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.9% C 0.167 H 145.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2E9F40
RGBrgb(46, 159, 64)
HSLhsl(130, 55%, 40%)
HSVhsv(130, 71%, 62%)
CMYKcmyk(71.1%, 0%, 59.7%, 37.6%)
CIE-LABlab(57.79, -51.23, 39.93)
CIE-LCHlch(57.79, 64.95, 142.07°)
OKLaboklab(61.91% -0.1383 0.0943)
OKLCHoklch(61.91% 0.167 145.7)
XYZxyz(14.4493, 25.7457, 9.0574)
Luminance0.2575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E9F40 #9F2E8D
analogous
#549F2E #2E9F40 #2E9F79
triadic
#2E9F40 #402E9F #9F402E
tetradic
#2E9F40 #2E549F #9F2E8D #9F792E
square
#2E9F40 #2E549F #9F2E8D #9F792E
split-complementary
#2E9F40 #792E9F #9F2E54
monochromatic
#13401A #20702D #2E9F40 #42C857 #71D681

Accessibility & contrast

On white

3.41
#2E9F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#2E9F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E9F40
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E9F40#FFFFFF#000000##000000
##2E9F401.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19036
Deuteranopia (green-blind)
#948748
Tritanopia (blue-blind)
#009B8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2e9f40;
/* rgb */ color: rgb(46, 159, 64);
/* oklch */ color: oklch(61.9% 0.167 145.7);
Tailwind
colors: {
  custom: {
    50: '#77bc78',
    500: '#2e9f40',
    950: '#000000',
  },
}
SCSS
$custom: #2e9f40;
$custom-light: #77bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#2e9f40",
  "rgb": {
    "r": 46,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 129.558,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61911,
    "c": 0.1674,
    "h": 145.7
  },
  "luminance": 0.25747
}

Semantic roles & 50–950 ramp

primary
#2E9F40
secondary
#BE6BB0
accent
#49C7DE
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2E9F40

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

Preview Lab → · Contrast checker → · Palette generator →

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