#2E7A20#2E7A20

#2E7A20 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.145 H 140.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2E7A20
RGBrgb(46, 122, 32)
HSLhsl(111, 58%, 30%)
HSVhsv(111, 74%, 48%)
CMYKcmyk(62.3%, 0%, 73.8%, 52.2%)
CIE-LABlab(45.09, -41.06, 40.28)
CIE-LCHlch(45.09, 57.52, 135.55°)
OKLaboklab(51.3% -0.1123 0.0916)
OKLCHoklch(51.3% 0.145 140.8)
XYZxyz(8.3466, 14.6034, 3.7451)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7A20 #6C207A
analogous
#5B7A20 #2E7A20 #207A3F
triadic
#2E7A20 #202E7A #7A202E
tetradic
#2E7A20 #205B7A #6C207A #7A3F20
square
#2E7A20 #205B7A #6C207A #7A3F20
split-complementary
#2E7A20 #3F207A #7A205B
monochromatic
#091907 #1C4A13 #2E7A20 #40AA2D #5BCE46

Accessibility & contrast

On white

5.36
#2E7A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2E7A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7A20
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7A20#FFFFFF#000000##FFFFFF
##2E7A201.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F11
Deuteranopia (green-blind)
#746829
Tritanopia (blue-blind)
#237668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7a20;
/* rgb */ color: rgb(46, 122, 32);
/* oklch */ color: oklch(51.3% 0.145 140.8);
Tailwind
colors: {
  custom: {
    50: '#71a161',
    500: '#2e7a20',
    950: '#000000',
  },
}
SCSS
$custom: #2e7a20;
$custom-light: #71a161;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7a20",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 110.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51301,
    "c": 0.14493,
    "h": 140.8
  },
  "luminance": 0.14604
}

Semantic roles & 50–950 ramp

primary
#2E7A20
secondary
#9E49AD
accent
#46E2C9
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2E7A20

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

Preview Lab → · Contrast checker → · Palette generator →

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