#2E7E34#2E7E34

#2E7E34 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.134 H 144.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2E7E34
RGBrgb(46, 126, 52)
HSLhsl(125, 47%, 34%)
HSVhsv(125, 63%, 49%)
CMYKcmyk(63.5%, 0%, 58.7%, 50.6%)
CIE-LABlab(46.64, -40.39, 32.74)
CIE-LCHlch(46.64, 51.99, 140.97°)
OKLaboklab(52.65% -0.1094 0.0777)
OKLCHoklch(52.65% 0.134 144.6)
XYZxyz(9.2068, 15.7496, 5.8029)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E34 #7E2E78
analogous
#507E2E #2E7E34 #2E7E5C
triadic
#2E7E34 #342E7E #7E342E
tetradic
#2E7E34 #2E507E #7E2E78 #7E5C2E
square
#2E7E34 #2E507E #7E2E78 #7E5C2E
split-complementary
#2E7E34 #5C2E7E #7E2E50
monochromatic
#0D240F #1E5121 #2E7E34 #3EAB47 #61C569

Accessibility & contrast

On white

5.06
#2E7E34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2E7E34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7E34
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E34#FFFFFF#000000##FFFFFF
##2E7E341.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732D
Deuteranopia (green-blind)
#766C3A
Tritanopia (blue-blind)
#1D7B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7e34;
/* rgb */ color: rgb(46, 126, 52);
/* oklch */ color: oklch(52.6% 0.134 144.6);
Tailwind
colors: {
  custom: {
    50: '#70a46e',
    500: '#2e7e34',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e34;
$custom-light: #70a46e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e34",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 52
  },
  "hsl": {
    "h": 124.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5265,
    "c": 0.13424,
    "h": 144.6
  },
  "luminance": 0.1575
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E7E34

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

Preview Lab → · Contrast checker → · Palette generator →

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