#2E7D31#2E7D31

#2E7D31 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.136 H 143.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2E7D31
RGBrgb(46, 125, 49)
HSLhsl(122, 46%, 34%)
HSVhsv(122, 63%, 49%)
CMYKcmyk(63.2%, 0%, 60.8%, 51%)
CIE-LABlab(46.27, -40.39, 33.81)
CIE-LCHlch(46.27, 52.67, 140.07°)
OKLaboklab(52.33% -0.1096 0.0798)
OKLCHoklch(52.33% 0.136 143.9)
XYZxyz(9.0142, 15.4690, 5.4159)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D31 #7D2E7A
analogous
#527D2E #2E7D31 #2E7D58
triadic
#2E7D31 #312E7D #7D312E
tetradic
#2E7D31 #2E527D #7D2E7A #7D582E
square
#2E7D31 #2E527D #7D2E7A #7D582E
split-complementary
#2E7D31 #582E7D #7D2E52
monochromatic
#0D240E #1E501F #2E7D31 #3EAA43 #61C564

Accessibility & contrast

On white

5.13
#2E7D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2E7D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D31
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D31#FFFFFF#000000##FFFFFF
##2E7D311.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7229
Deuteranopia (green-blind)
#766B37
Tritanopia (blue-blind)
#1E7A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7d31;
/* rgb */ color: rgb(46, 125, 49);
/* oklch */ color: oklch(52.3% 0.136 143.9);
Tailwind
colors: {
  custom: {
    50: '#70a36c',
    500: '#2e7d31',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d31;
$custom-light: #70a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d31",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 122.278,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5233,
    "c": 0.13554,
    "h": 143.9
  },
  "luminance": 0.1547
}

Semantic roles & 50–950 ramp

primary
#2E7D31
secondary
#AB5BA8
accent
#52D1D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2E7D31

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

Preview Lab → · Contrast checker → · Palette generator →

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