#2E791A#2E791A

#2E791A is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.147 H 140.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2E791A
RGBrgb(46, 121, 26)
HSLhsl(107, 65%, 29%)
HSVhsv(107, 79%, 47%)
CMYKcmyk(62%, 0%, 78.5%, 52.5%)
CIE-LABlab(44.70, -41.16, 42.22)
CIE-LCHlch(44.70, 58.96, 134.27°)
OKLaboklab(50.97% -0.113 0.0947)
OKLCHoklch(50.97% 0.147 140)
XYZxyz(8.1502, 14.3294, 3.3134)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E791A #651A79
analogous
#5E791A #2E791A #1A7936
triadic
#2E791A #1A2E79 #791A2E
tetradic
#2E791A #1A5E79 #651A79 #79361A
square
#2E791A #1A5E79 #651A79 #79361A
split-complementary
#2E791A #361A79 #791A5E
monochromatic
#0A1905 #1B470F #2E791A #41AB25 #5AD439

Accessibility & contrast

On white

5.43
#2E791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2E791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E791A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E791A#FFFFFF#000000##FFFFFF
##2E791A1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E05
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#247567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e791a;
/* rgb */ color: rgb(46, 121, 26);
/* oklch */ color: oklch(51.0% 0.147 140.0);
Tailwind
colors: {
  custom: {
    50: '#71a05e',
    500: '#2e791a',
    950: '#000000',
  },
}
SCSS
$custom: #2e791a;
$custom-light: #71a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e791a",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 107.368,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5097,
    "c": 0.14745,
    "h": 140
  },
  "luminance": 0.1433
}

Semantic roles & 50–950 ramp

primary
#2E791A
secondary
#9741AD
accent
#40E8C4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2E791A

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

Preview Lab → · Contrast checker → · Palette generator →

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