#2E8B40#2E8B40

#2E8B40 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.141 H 146.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2E8B40
RGBrgb(46, 139, 64)
HSLhsl(132, 50%, 36%)
HSVhsv(132, 67%, 55%)
CMYKcmyk(66.9%, 0%, 54%, 45.5%)
CIE-LABlab(51.17, -43.78, 32.03)
CIE-LCHlch(51.17, 54.25, 143.81°)
OKLaboklab(56.43% -0.1182 0.077)
OKLCHoklch(56.43% 0.141 146.9)
XYZxyz(11.2840, 19.4151, 8.0023)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8B40 #8B2E79
analogous
#4B8B2E #2E8B40 #2E8B6F
triadic
#2E8B40 #402E8B #8B402E
tetradic
#2E8B40 #2E4B8B #8B2E79 #8B6F2E
square
#2E8B40 #2E4B8B #8B2E79 #8B6F2E
split-complementary
#2E8B40 #6F2E8B #8B2E4B
monochromatic
#102F16 #1F5D2B #2E8B40 #3DB955 #67CD7A

Accessibility & contrast

On white

4.30
#2E8B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2E8B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8B40
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8B40#FFFFFF#000000##000000
##2E8B401.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F39
Deuteranopia (green-blind)
#817746
Tritanopia (blue-blind)
#10887A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2e8b40;
/* rgb */ color: rgb(46, 139, 64);
/* oklch */ color: oklch(56.4% 0.141 146.9);
Tailwind
colors: {
  custom: {
    50: '#73ae77',
    500: '#2e8b40',
    950: '#000000',
  },
}
SCSS
$custom: #2e8b40;
$custom-light: #73ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8b40",
  "rgb": {
    "r": 46,
    "g": 139,
    "b": 64
  },
  "hsl": {
    "h": 131.613,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56433,
    "c": 0.14109,
    "h": 146.9
  },
  "luminance": 0.19416
}

Semantic roles & 50–950 ramp

primary
#2E8B40
secondary
#B361A4
accent
#4EBFDA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2E8B40

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

Preview Lab → · Contrast checker → · Palette generator →

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