#2E771B#2E771B

#2E771B is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.144 H 140.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2E771B
RGBrgb(46, 119, 27)
HSLhsl(108, 63%, 29%)
HSVhsv(108, 77%, 47%)
CMYKcmyk(61.3%, 0%, 77.3%, 53.3%)
CIE-LABlab(44.02, -40.31, 41.17)
CIE-LCHlch(44.02, 57.62, 134.40°)
OKLaboklab(50.41% -0.1106 0.0927)
OKLCHoklch(50.41% 0.144 140)
XYZxyz(7.9210, 13.8529, 3.2932)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E771B #641B77
analogous
#5C771B #2E771B #1B7736
triadic
#2E771B #1B2E77 #771B2E
tetradic
#2E771B #1B5C77 #641B77 #77361B
square
#2E771B #1B5C77 #641B77 #77361B
split-complementary
#2E771B #361B77 #771B5C
monochromatic
#0A1906 #1B4510 #2E771B #41A926 #5AD23A

Accessibility & contrast

On white

5.57
#2E771B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2E771B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E771B
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E771B#FFFFFF#000000##FFFFFF
##2E771B1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C08
Deuteranopia (green-blind)
#716625
Tritanopia (blue-blind)
#257365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2e771b;
/* rgb */ color: rgb(46, 119, 27);
/* oklch */ color: oklch(50.4% 0.144 140.0);
Tailwind
colors: {
  custom: {
    50: '#709f5e',
    500: '#2e771b',
    950: '#000000',
  },
}
SCSS
$custom: #2e771b;
$custom-light: #709f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e771b",
  "rgb": {
    "r": 46,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 107.609,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.14435,
    "h": 140
  },
  "luminance": 0.13854
}

Semantic roles & 50–950 ramp

primary
#2E771B
secondary
#9642AB
accent
#42E6C4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E771B

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

Preview Lab → · Contrast checker → · Palette generator →

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