#2E7D34#2E7D34

#2E7D34 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.133 H 144.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2E7D34
RGBrgb(46, 125, 52)
HSLhsl(125, 46%, 34%)
HSVhsv(125, 63%, 49%)
CMYKcmyk(63.2%, 0%, 58.4%, 51%)
CIE-LABlab(46.30, -39.99, 32.34)
CIE-LCHlch(46.30, 51.43, 141.04°)
OKLaboklab(52.37% -0.1084 0.0769)
OKLCHoklch(52.37% 0.133 144.7)
XYZxyz(9.0796, 15.4951, 5.7605)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D34 #7D2E77
analogous
#4F7D2E #2E7D34 #2E7D5B
triadic
#2E7D34 #342E7D #7D342E
tetradic
#2E7D34 #2E4F7D #7D2E77 #7D5B2E
square
#2E7D34 #2E4F7D #7D2E77 #7D5B2E
split-complementary
#2E7D34 #5B2E7D #7D2E4F
monochromatic
#0D240F #1E5021 #2E7D34 #3EAA47 #61C568

Accessibility & contrast

On white

5.12
#2E7D34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2E7D34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D34
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D34#FFFFFF#000000##FFFFFF
##2E7D341.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722D
Deuteranopia (green-blind)
#756B3A
Tritanopia (blue-blind)
#1D7A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7d34;
/* rgb */ color: rgb(46, 125, 52);
/* oklch */ color: oklch(52.4% 0.133 144.7);
Tailwind
colors: {
  custom: {
    50: '#70a36e',
    500: '#2e7d34',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d34;
$custom-light: #70a36e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d34",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 52
  },
  "hsl": {
    "h": 124.557,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5237,
    "c": 0.13285,
    "h": 144.7
  },
  "luminance": 0.15496
}

Semantic roles & 50–950 ramp

primary
#2E7D34
secondary
#AB5BA5
accent
#52CCD6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2E7D34

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

Preview Lab → · Contrast checker → · Palette generator →

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