#2E8440#2E8440

#2E8440 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.131 H 147.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2E8440
RGBrgb(46, 132, 64)
HSLhsl(133, 48%, 35%)
HSVhsv(133, 65%, 52%)
CMYKcmyk(65.2%, 0%, 51.5%, 48.2%)
CIE-LABlab(48.83, -41.02, 29.15)
CIE-LCHlch(48.83, 50.32, 144.60°)
OKLaboklab(54.5% -0.1108 0.0706)
OKLCHoklch(54.5% 0.131 147.5)
XYZxyz(10.3027, 17.4525, 7.6752)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8440 #842E72
analogous
#47842E #2E8440 #2E846B
triadic
#2E8440 #402E84 #84402E
tetradic
#2E8440 #2E4784 #842E72 #846B2E
square
#2E8440 #2E4784 #842E72 #846B2E
split-complementary
#2E8440 #6B2E84 #842E47
monochromatic
#0E2914 #1E572A #2E8440 #3EB156 #64C979

Accessibility & contrast

On white

4.68
#2E8440 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2E8440 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8440
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8440#FFFFFF#000000##FFFFFF
##2E84401.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#7B7145
Tritanopia (blue-blind)
#158174
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2e8440;
/* rgb */ color: rgb(46, 132, 64);
/* oklch */ color: oklch(54.5% 0.131 147.5);
Tailwind
colors: {
  custom: {
    50: '#71a976',
    500: '#2e8440',
    950: '#000000',
  },
}
SCSS
$custom: #2e8440;
$custom-light: #71a976;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8440",
  "rgb": {
    "r": 46,
    "g": 132,
    "b": 64
  },
  "hsl": {
    "h": 132.558,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54499,
    "c": 0.13136,
    "h": 147.5
  },
  "luminance": 0.17454
}

Semantic roles & 50–950 ramp

primary
#2E8440
secondary
#B05E9F
accent
#50BBD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2E8440

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

Preview Lab → · Contrast checker → · Palette generator →

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