#2E8940#2E8940

#2E8940 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.9% C 0.138 H 147.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2E8940
RGBrgb(46, 137, 64)
HSLhsl(132, 50%, 36%)
HSVhsv(132, 66%, 54%)
CMYKcmyk(66.4%, 0%, 53.3%, 46.3%)
CIE-LABlab(50.50, -43.00, 31.22)
CIE-LCHlch(50.50, 53.14, 144.02°)
OKLaboklab(55.88% -0.1161 0.0752)
OKLCHoklch(55.88% 0.138 147.1)
XYZxyz(10.9970, 18.8412, 7.9067)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8940 #892E77
analogous
#49892E #2E8940 #2E896D
triadic
#2E8940 #402E89 #89402E
tetradic
#2E8940 #2E4989 #892E77 #896D2E
square
#2E8940 #2E4989 #892E77 #896D2E
split-complementary
#2E8940 #6D2E89 #892E49
monochromatic
#0F2D15 #1F5B2B #2E8940 #3DB755 #66CC7A

Accessibility & contrast

On white

4.40
#2E8940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2E8940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8940
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8940#FFFFFF#000000##000000
##2E89401.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D3A
Deuteranopia (green-blind)
#7F7545
Tritanopia (blue-blind)
#128678
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e8940;
/* rgb */ color: rgb(46, 137, 64);
/* oklch */ color: oklch(55.9% 0.138 147.1);
Tailwind
colors: {
  custom: {
    50: '#72ac76',
    500: '#2e8940',
    950: '#000000',
  },
}
SCSS
$custom: #2e8940;
$custom-light: #72ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8940",
  "rgb": {
    "r": 46,
    "g": 137,
    "b": 64
  },
  "hsl": {
    "h": 131.868,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55882,
    "c": 0.13833,
    "h": 147.1
  },
  "luminance": 0.18842
}

Semantic roles & 50–950 ramp

primary
#2E8940
secondary
#B260A2
accent
#4FBED9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2E8940

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

Preview Lab → · Contrast checker → · Palette generator →

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