#2E8D31#2E8D31

#2E8D31 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.157 H 143.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2E8D31
RGBrgb(46, 141, 49)
HSLhsl(122, 51%, 37%)
HSVhsv(122, 67%, 55%)
CMYKcmyk(67.4%, 0%, 65.2%, 44.7%)
CIE-LABlab(51.67, -46.51, 39.95)
CIE-LCHlch(51.67, 61.31, 139.34°)
OKLaboklab(56.79% -0.1261 0.093)
OKLCHoklch(56.79% 0.157 143.6)
XYZxyz(11.2053, 19.8512, 6.1463)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8D31 #8D2E8A
analogous
#5B8D2E #2E8D31 #2E8D61
triadic
#2E8D31 #312E8D #8D312E
tetradic
#2E8D31 #2E5B8D #8D2E8A #8D612E
square
#2E8D31 #2E5B8D #8D2E8A #8D612E
split-complementary
#2E8D31 #612E8D #8D2E5B
monochromatic
#103111 #1F5F21 #2E8D31 #3DBB41 #68CE6B

Accessibility & contrast

On white

4.23
#2E8D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#2E8D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8D31
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8D31#FFFFFF#000000##000000
##2E8D311.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#847839
Tritanopia (blue-blind)
#17897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2e8d31;
/* rgb */ color: rgb(46, 141, 49);
/* oklch */ color: oklch(56.8% 0.157 143.6);
Tailwind
colors: {
  custom: {
    50: '#74af6d',
    500: '#2e8d31',
    950: '#000000',
  },
}
SCSS
$custom: #2e8d31;
$custom-light: #74af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8d31",
  "rgb": {
    "r": 46,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 121.895,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56791,
    "c": 0.15669,
    "h": 143.6
  },
  "luminance": 0.19852
}

Semantic roles & 50–950 ramp

primary
#2E8D31
secondary
#B562B2
accent
#4ED6DA
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2E8D31

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

Preview Lab → · Contrast checker → · Palette generator →

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