#2E7E32#2E7E32

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

Color values

HEX#2E7E32
RGBrgb(46, 126, 50)
HSLhsl(123, 47%, 34%)
HSVhsv(123, 63%, 49%)
CMYKcmyk(63.5%, 0%, 60.3%, 50.6%)
CIE-LABlab(46.62, -40.66, 33.72)
CIE-LCHlch(46.62, 52.82, 140.33°)
OKLaboklab(52.62% -0.1102 0.0797)
OKLCHoklch(52.62% 0.136 144.1)
XYZxyz(9.1627, 15.7320, 5.5707)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E32 #7E2E7A
analogous
#527E2E #2E7E32 #2E7E5A
triadic
#2E7E32 #322E7E #7E322E
tetradic
#2E7E32 #2E527E #7E2E7A #7E5A2E
square
#2E7E32 #2E527E #7E2E7A #7E5A2E
split-complementary
#2E7E32 #5A2E7E #7E2E52
monochromatic
#0D240E #1E5120 #2E7E32 #3EAB44 #61C566

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7E32#FFFFFF#000000##FFFFFF
##2E7E321.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)
#80732A
Deuteranopia (green-blind)
#766C38
Tritanopia (blue-blind)
#1D7B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7e32;
/* rgb */ color: rgb(46, 126, 50);
/* oklch */ color: oklch(52.6% 0.136 144.1);
Tailwind
colors: {
  custom: {
    50: '#70a46c',
    500: '#2e7e32',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e32;
$custom-light: #70a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e32",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 50
  },
  "hsl": {
    "h": 123,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52623,
    "c": 0.13604,
    "h": 144.1
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#2E7E32
secondary
#AC5CA8
accent
#52D0D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2E7E32

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

Preview Lab → · Contrast checker → · Palette generator →

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