#2E7D1B#2E7D1B

#2E7D1B is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.152 H 140.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2E7D1B
RGBrgb(46, 125, 27)
HSLhsl(108, 64%, 30%)
HSVhsv(108, 78%, 49%)
CMYKcmyk(63.2%, 0%, 78.4%, 51%)
CIE-LABlab(46.08, -42.61, 43.21)
CIE-LCHlch(46.08, 60.68, 134.60°)
OKLaboklab(52.11% -0.1168 0.097)
OKLCHoklch(52.11% 0.152 140.3)
XYZxyz(8.6578, 15.3264, 3.5387)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D1B #6A1B7D
analogous
#5F7D1B #2E7D1B #1B7D39
triadic
#2E7D1B #1B2E7D #7D1B2E
tetradic
#2E7D1B #1B5F7D #6A1B7D #7D391B
square
#2E7D1B #1B5F7D #6A1B7D #7D391B
split-complementary
#2E7D1B #391B7D #7D1B5F
monochromatic
#091905 #1B4B10 #2E7D1B #41AF26 #5BD53D

Accessibility & contrast

On white

5.17
#2E7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2E7D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D1B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D1B#FFFFFF#000000##FFFFFF
##2E7D1B1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817105
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#23796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7d1b;
/* rgb */ color: rgb(46, 125, 27);
/* oklch */ color: oklch(52.1% 0.152 140.3);
Tailwind
colors: {
  custom: {
    50: '#71a35f',
    500: '#2e7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d1b;
$custom-light: #71a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d1b",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 108.367,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5211,
    "c": 0.15182,
    "h": 140.3
  },
  "luminance": 0.15327
}

Semantic roles & 50–950 ramp

primary
#2E7D1B
secondary
#9C43B1
accent
#40E7C7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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