#2E771F#2E771F

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

Color values

HEX#2E771F
RGBrgb(46, 119, 31)
HSLhsl(110, 59%, 29%)
HSVhsv(110, 74%, 47%)
CMYKcmyk(61.3%, 0%, 73.9%, 53.3%)
CIE-LABlab(44.05, -39.98, 39.62)
CIE-LCHlch(44.05, 56.29, 135.26°)
OKLaboklab(50.44% -0.1095 0.09)
OKLCHoklch(50.44% 0.142 140.6)
XYZxyz(7.9705, 13.8727, 3.5537)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E771F #681F77
analogous
#5A771F #2E771F #1F773C
triadic
#2E771F #1F2E77 #771F2E
tetradic
#2E771F #1F5A77 #681F77 #773C1F
square
#2E771F #1F5A77 #681F77 #773C1F
split-complementary
#2E771F #3C1F77 #771F5A
monochromatic
#091806 #1B4612 #2E771F #41A82C #5ACE43

Accessibility & contrast

On white

5.56
#2E771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E771F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E771F#FFFFFF#000000##FFFFFF
##2E771F1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C11
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#247366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2e771f;
/* rgb */ color: rgb(46, 119, 31);
/* oklch */ color: oklch(50.4% 0.142 140.6);
Tailwind
colors: {
  custom: {
    50: '#709f60',
    500: '#2e771f',
    950: '#000000',
  },
}
SCSS
$custom: #2e771f;
$custom-light: #709f60;
$custom-dark: #000000;
JSON
{
  "hex": "#2e771f",
  "rgb": {
    "r": 46,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 109.773,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50442,
    "c": 0.14177,
    "h": 140.6
  },
  "luminance": 0.13873
}

Semantic roles & 50–950 ramp

primary
#2E771F
secondary
#9A47AB
accent
#46E2C7
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E771F

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

Preview Lab → · Contrast checker → · Palette generator →

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