#2E771A#2E771A

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

Color values

HEX#2E771A
RGBrgb(46, 119, 26)
HSLhsl(107, 64%, 28%)
HSVhsv(107, 78%, 47%)
CMYKcmyk(61.3%, 0%, 78.2%, 53.3%)
CIE-LABlab(44.01, -40.39, 41.54)
CIE-LCHlch(44.01, 57.94, 134.20°)
OKLaboklab(50.4% -0.1109 0.0933)
OKLCHoklch(50.4% 0.145 139.9)
XYZxyz(7.9096, 13.8484, 3.2333)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E771A #631A77
analogous
#5C771A #2E771A #1A7734
triadic
#2E771A #1A2E77 #771A2E
tetradic
#2E771A #1A5C77 #631A77 #77341A
square
#2E771A #1A5C77 #631A77 #77341A
split-complementary
#2E771A #341A77 #771A5C
monochromatic
#0A1905 #1B450F #2E771A #41A925 #59D338

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E771A#FFFFFF#000000##FFFFFF
##2E771A1.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)
#7A6C06
Deuteranopia (green-blind)
#716624
Tritanopia (blue-blind)
#257365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2e771a;
/* rgb */ color: rgb(46, 119, 26);
/* oklch */ color: oklch(50.4% 0.145 139.9);
Tailwind
colors: {
  custom: {
    50: '#709f5e',
    500: '#2e771a',
    950: '#000000',
  },
}
SCSS
$custom: #2e771a;
$custom-light: #709f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e771a",
  "rgb": {
    "r": 46,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 107.097,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50402,
    "c": 0.14495,
    "h": 139.9
  },
  "luminance": 0.13849
}

Semantic roles & 50–950 ramp

primary
#2E771A
secondary
#9541AC
accent
#41E7C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E771A

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

Preview Lab → · Contrast checker → · Palette generator →

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