#2E8A31#2E8A31

#2E8A31 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.153 H 143.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2E8A31
RGBrgb(46, 138, 49)
HSLhsl(122, 50%, 36%)
HSVhsv(122, 67%, 54%)
CMYKcmyk(66.7%, 0%, 64.5%, 45.9%)
CIE-LABlab(50.66, -45.39, 38.82)
CIE-LCHlch(50.66, 59.73, 139.46°)
OKLaboklab(55.96% -0.1231 0.0906)
OKLCHoklch(55.96% 0.153 143.7)
XYZxyz(10.7689, 18.9785, 6.0008)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8A31 #8A2E87
analogous
#598A2E #2E8A31 #2E8A5F
triadic
#2E8A31 #312E8A #8A312E
tetradic
#2E8A31 #2E598A #8A2E87 #8A5F2E
square
#2E8A31 #2E598A #8A2E87 #8A5F2E
split-complementary
#2E8A31 #5F2E8A #8A2E59
monochromatic
#0F2E10 #1F5C21 #2E8A31 #3DB841 #66CC6A

Accessibility & contrast

On white

4.38
#2E8A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2E8A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8A31
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8A31#FFFFFF#000000##000000
##2E8A311.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D27
Deuteranopia (green-blind)
#827639
Tritanopia (blue-blind)
#188677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2e8a31;
/* rgb */ color: rgb(46, 138, 49);
/* oklch */ color: oklch(56.0% 0.153 143.7);
Tailwind
colors: {
  custom: {
    50: '#73ad6d',
    500: '#2e8a31',
    950: '#000000',
  },
}
SCSS
$custom: #2e8a31;
$custom-light: #73ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8a31",
  "rgb": {
    "r": 46,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 121.957,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.15283,
    "h": 143.7
  },
  "luminance": 0.1898
}

Semantic roles & 50–950 ramp

primary
#2E8A31
secondary
#B361B0
accent
#4ED5DA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2E8A31

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

Preview Lab → · Contrast checker → · Palette generator →

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