#2E771D#2E771D

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

Color values

HEX#2E771D
RGBrgb(46, 119, 29)
HSLhsl(109, 61%, 29%)
HSVhsv(109, 76%, 47%)
CMYKcmyk(61.3%, 0%, 75.6%, 53.3%)
CIE-LABlab(44.04, -40.15, 40.41)
CIE-LCHlch(44.04, 56.97, 134.82°)
OKLaboklab(50.43% -0.1101 0.0914)
OKLCHoklch(50.43% 0.143 140.3)
XYZxyz(7.9449, 13.8625, 3.4192)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E771D #661D77
analogous
#5B771D #2E771D #1D7739
triadic
#2E771D #1D2E77 #771D2E
tetradic
#2E771D #1D5B77 #661D77 #77391D
square
#2E771D #1D5B77 #661D77 #77391D
split-complementary
#2E771D #391D77 #771D5B
monochromatic
#0A1906 #1B4611 #2E771D #41A829 #5AD03E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E771D#FFFFFF#000000##FFFFFF
##2E771D1.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)
#7A6C0D
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#247365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2e771d;
/* rgb */ color: rgb(46, 119, 29);
/* oklch */ color: oklch(50.4% 0.143 140.3);
Tailwind
colors: {
  custom: {
    50: '#709f5f',
    500: '#2e771d',
    950: '#000000',
  },
}
SCSS
$custom: #2e771d;
$custom-light: #709f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e771d",
  "rgb": {
    "r": 46,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 108.667,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50425,
    "c": 0.14309,
    "h": 140.3
  },
  "luminance": 0.13863
}

Semantic roles & 50–950 ramp

primary
#2E771D
secondary
#9845AB
accent
#44E4C6
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E771D

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

Preview Lab → · Contrast checker → · Palette generator →

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