#2E811B#2E811B

#2E811B is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.157 H 140.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2E811B
RGBrgb(46, 129, 27)
HSLhsl(109, 65%, 31%)
HSVhsv(109, 79%, 51%)
CMYKcmyk(64.3%, 0%, 79.1%, 49.4%)
CIE-LABlab(47.44, -44.10, 44.54)
CIE-LCHlch(47.44, 62.68, 134.72°)
OKLaboklab(53.24% -0.1208 0.0997)
OKLCHoklch(53.24% 0.157 140.5)
XYZxyz(9.1744, 16.3596, 3.7109)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E811B #6E1B81
analogous
#61811B #2E811B #1B813B
triadic
#2E811B #1B2E81 #811B2E
tetradic
#2E811B #1B6181 #6E1B81 #813B1B
square
#2E811B #1B6181 #6E1B81 #813B1B
split-complementary
#2E811B #3B1B81 #811B61
monochromatic
#0A1C06 #1C4E10 #2E811B #40B426 #5CD73F

Accessibility & contrast

On white

4.92
#2E811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2E811B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E811B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E811B#FFFFFF#000000##FFFFFF
##2E811B1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857503
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#217D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e811b;
/* rgb */ color: rgb(46, 129, 27);
/* oklch */ color: oklch(53.2% 0.157 140.5);
Tailwind
colors: {
  custom: {
    50: '#72a660',
    500: '#2e811b',
    950: '#000000',
  },
}
SCSS
$custom: #2e811b;
$custom-light: #72a660;
$custom-dark: #000000;
JSON
{
  "hex": "#2e811b",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 108.824,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53239,
    "c": 0.15669,
    "h": 140.5
  },
  "luminance": 0.1636
}

Semantic roles & 50–950 ramp

primary
#2E811B
secondary
#9F43B5
accent
#3FE8C9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E811B

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

Preview Lab → · Contrast checker → · Palette generator →

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