#2E8340#2E8340

#2E8340 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.130 H 147.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2E8340
RGBrgb(46, 131, 64)
HSLhsl(133, 48%, 35%)
HSVhsv(133, 65%, 51%)
CMYKcmyk(64.9%, 0%, 51.1%, 48.6%)
CIE-LABlab(48.49, -40.62, 28.73)
CIE-LCHlch(48.49, 49.75, 144.72°)
OKLaboklab(54.22% -0.1097 0.0697)
OKLCHoklch(54.22% 0.13 147.6)
XYZxyz(10.1677, 17.1826, 7.6302)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8340 #832E71
analogous
#46832E #2E8340 #2E836B
triadic
#2E8340 #402E83 #83402E
tetradic
#2E8340 #2E4683 #832E71 #836B2E
square
#2E8340 #2E4683 #832E71 #836B2E
split-complementary
#2E8340 #6B2E83 #832E46
monochromatic
#0E2814 #1E562A #2E8340 #3EB056 #63C879

Accessibility & contrast

On white

4.73
#2E8340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2E8340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8340
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8340#FFFFFF#000000##FFFFFF
##2E83401.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84783A
Deuteranopia (green-blind)
#7A7045
Tritanopia (blue-blind)
#158073
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e8340;
/* rgb */ color: rgb(46, 131, 64);
/* oklch */ color: oklch(54.2% 0.130 147.6);
Tailwind
colors: {
  custom: {
    50: '#71a876',
    500: '#2e8340',
    950: '#000000',
  },
}
SCSS
$custom: #2e8340;
$custom-light: #71a876;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8340",
  "rgb": {
    "r": 46,
    "g": 131,
    "b": 64
  },
  "hsl": {
    "h": 132.706,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54223,
    "c": 0.12995,
    "h": 147.6
  },
  "luminance": 0.17184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E8340

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

Preview Lab → · Contrast checker → · Palette generator →

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