#2E7B20#2E7B20

#2E7B20 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.146 H 140.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2E7B20
RGBrgb(46, 123, 32)
HSLhsl(111, 59%, 30%)
HSVhsv(111, 74%, 48%)
CMYKcmyk(62.6%, 0%, 74%, 51.8%)
CIE-LABlab(45.43, -41.45, 40.63)
CIE-LCHlch(45.43, 58.04, 135.57°)
OKLaboklab(51.58% -0.1134 0.0923)
OKLCHoklch(51.58% 0.146 140.9)
XYZxyz(8.4700, 14.8503, 3.7863)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B20 #6D207B
analogous
#5B7B20 #2E7B20 #207B3F
triadic
#2E7B20 #202E7B #7B202E
tetradic
#2E7B20 #205B7B #6D207B #7B3F20
square
#2E7B20 #205B7B #6D207B #7B3F20
split-complementary
#2E7B20 #3F207B #7B205B
monochromatic
#0A1A07 #1C4A13 #2E7B20 #40AC2D #5BCF46

Accessibility & contrast

On white

5.29
#2E7B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2E7B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B20
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B20#FFFFFF#000000##FFFFFF
##2E7B201.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F11
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#237769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7b20;
/* rgb */ color: rgb(46, 123, 32);
/* oklch */ color: oklch(51.6% 0.146 140.9);
Tailwind
colors: {
  custom: {
    50: '#71a261',
    500: '#2e7b20',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b20;
$custom-light: #71a261;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b20",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 110.769,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51584,
    "c": 0.14621,
    "h": 140.9
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#2E7B20
secondary
#9F49AE
accent
#46E2CA
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2E7B20

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

Preview Lab → · Contrast checker → · Palette generator →

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