#2E791E#2E791E

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

Color values

HEX#2E791E
RGBrgb(46, 121, 30)
HSLhsl(109, 60%, 30%)
HSVhsv(109, 75%, 47%)
CMYKcmyk(62%, 0%, 75.2%, 52.5%)
CIE-LABlab(44.73, -40.85, 40.72)
CIE-LCHlch(44.73, 57.67, 135.09°)
OKLaboklab(51% -0.1119 0.0922)
OKLCHoklch(51% 0.145 140.5)
XYZxyz(8.1980, 14.3486, 3.5656)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E791E #691E79
analogous
#5B791E #2E791E #1E793C
triadic
#2E791E #1E2E79 #791E2E
tetradic
#2E791E #1E5B79 #691E79 #793C1E
square
#2E791E #1E5B79 #691E79 #793C1E
split-complementary
#2E791E #3C1E79 #791E5B
monochromatic
#091906 #1B4812 #2E791E #41AA2A #5AD041

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E791E#FFFFFF#000000##FFFFFF
##2E791E1.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)
#7C6E0E
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#247567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e791e;
/* rgb */ color: rgb(46, 121, 30);
/* oklch */ color: oklch(51.0% 0.145 140.5);
Tailwind
colors: {
  custom: {
    50: '#70a060',
    500: '#2e791e',
    950: '#000000',
  },
}
SCSS
$custom: #2e791e;
$custom-light: #70a060;
$custom-dark: #000000;
JSON
{
  "hex": "#2e791e",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 109.451,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51001,
    "c": 0.14498,
    "h": 140.5
  },
  "luminance": 0.14349
}

Semantic roles & 50–950 ramp

primary
#2E791E
secondary
#9B46AD
accent
#44E3C7
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2E791E

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

Preview Lab → · Contrast checker → · Palette generator →

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