#2E791F#2E791F

#2E791F is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.144 H 140.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2E791F
RGBrgb(46, 121, 31)
HSLhsl(110, 59%, 30%)
HSVhsv(110, 74%, 47%)
CMYKcmyk(62%, 0%, 74.4%, 52.5%)
CIE-LABlab(44.74, -40.76, 40.33)
CIE-LCHlch(44.74, 57.34, 135.31°)
OKLaboklab(51.01% -0.1116 0.0915)
OKLCHoklch(51.01% 0.144 140.6)
XYZxyz(8.2110, 14.3538, 3.6339)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E791F #6A1F79
analogous
#5B791F #2E791F #1F793D
triadic
#2E791F #1F2E79 #791F2E
tetradic
#2E791F #1F5B79 #6A1F79 #793D1F
square
#2E791F #1F5B79 #6A1F79 #793D1F
split-complementary
#2E791F #3D1F79 #791F5B
monochromatic
#091806 #1B4813 #2E791F #41AA2B #5BCF43

Accessibility & contrast

On white

5.42
#2E791F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E791F
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E791F#FFFFFF#000000##FFFFFF
##2E791F1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E10
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#237567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e791f;
/* rgb */ color: rgb(46, 121, 31);
/* oklch */ color: oklch(51.0% 0.144 140.6);
Tailwind
colors: {
  custom: {
    50: '#70a061',
    500: '#2e791f',
    950: '#000000',
  },
}
SCSS
$custom: #2e791f;
$custom-light: #70a061;
$custom-dark: #000000;
JSON
{
  "hex": "#2e791f",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 110,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51009,
    "c": 0.14433,
    "h": 140.6
  },
  "luminance": 0.14355
}

Semantic roles & 50–950 ramp

primary
#2E791F
secondary
#9C47AC
accent
#45E2C8
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2E791F

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

Preview Lab → · Contrast checker → · Palette generator →

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