#2E791C#2E791C

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

Color values

HEX#2E791C
RGBrgb(46, 121, 28)
HSLhsl(108, 62%, 29%)
HSVhsv(108, 77%, 47%)
CMYKcmyk(62%, 0%, 76.9%, 52.5%)
CIE-LABlab(44.71, -41.01, 41.48)
CIE-LCHlch(44.71, 58.33, 134.67°)
OKLaboklab(50.99% -0.1124 0.0935)
OKLCHoklch(50.99% 0.146 140.3)
XYZxyz(8.1733, 14.3387, 3.4353)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E791C #671C79
analogous
#5D791C #2E791C #1C7939
triadic
#2E791C #1C2E79 #791C2E
tetradic
#2E791C #1C5D79 #671C79 #79391C
square
#2E791C #1C5D79 #671C79 #79391C
split-complementary
#2E791C #391C79 #791C5D
monochromatic
#091906 #1B4710 #2E791C #41AB28 #5AD23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E791C#FFFFFF#000000##FFFFFF
##2E791C1.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)
#7C6E0A
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#247567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e791c;
/* rgb */ color: rgb(46, 121, 28);
/* oklch */ color: oklch(51.0% 0.146 140.3);
Tailwind
colors: {
  custom: {
    50: '#71a05f',
    500: '#2e791c',
    950: '#000000',
  },
}
SCSS
$custom: #2e791c;
$custom-light: #71a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e791c",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 108.387,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50985,
    "c": 0.14625,
    "h": 140.3
  },
  "luminance": 0.14339
}

Semantic roles & 50–950 ramp

primary
#2E791C
secondary
#9944AD
accent
#42E5C6
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2E791C

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

Preview Lab → · Contrast checker → · Palette generator →

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