#2E8942#2E8942

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

Color values

HEX#2E8942
RGBrgb(46, 137, 66)
HSLhsl(133, 50%, 36%)
HSVhsv(133, 66%, 54%)
CMYKcmyk(66.4%, 0%, 51.8%, 46.3%)
CIE-LABlab(50.53, -42.69, 30.20)
CIE-LCHlch(50.53, 52.30, 144.72°)
OKLaboklab(55.91% -0.1152 0.0731)
OKLCHoklch(55.91% 0.136 147.6)
XYZxyz(11.0550, 18.8644, 8.2118)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8942 #892E75
analogous
#47892E #2E8942 #2E896F
triadic
#2E8942 #422E89 #89422E
tetradic
#2E8942 #2E4789 #892E75 #896F2E
square
#2E8942 #2E4789 #892E75 #896F2E
split-complementary
#2E8942 #6F2E89 #892E47
monochromatic
#0F2D16 #1F5B2C #2E8942 #3DB758 #66CC7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E8942#FFFFFF#000000##000000
##2E89421.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)
#8B7D3C
Deuteranopia (green-blind)
#7F7547
Tritanopia (blue-blind)
#108679
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e8942;
/* rgb */ color: rgb(46, 137, 66);
/* oklch */ color: oklch(55.9% 0.136 147.6);
Tailwind
colors: {
  custom: {
    50: '#72ac78',
    500: '#2e8942',
    950: '#000000',
  },
}
SCSS
$custom: #2e8942;
$custom-light: #72ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8942",
  "rgb": {
    "r": 46,
    "g": 137,
    "b": 66
  },
  "hsl": {
    "h": 133.187,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55913,
    "c": 0.13644,
    "h": 147.6
  },
  "luminance": 0.18866
}

Semantic roles & 50–950 ramp

primary
#2E8942
secondary
#B260A0
accent
#4FBBD9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2E8942

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

Preview Lab → · Contrast checker → · Palette generator →

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