#2E7B19#2E7B19

#2E7B19 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.150 H 140.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2E7B19
RGBrgb(46, 123, 25)
HSLhsl(107, 66%, 29%)
HSVhsv(107, 80%, 48%)
CMYKcmyk(62.6%, 0%, 79.7%, 51.8%)
CIE-LABlab(45.38, -41.99, 43.24)
CIE-LCHlch(45.38, 60.27, 134.16°)
OKLaboklab(51.53% -0.1153 0.0967)
OKLCHoklch(51.53% 0.15 140)
XYZxyz(8.3848, 14.8162, 3.3375)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B19 #66197B
analogous
#5F7B19 #2E7B19 #197B35
triadic
#2E7B19 #192E7B #7B192E
tetradic
#2E7B19 #195F7B #66197B #7B3519
square
#2E7B19 #195F7B #66197B #7B3519
split-complementary
#2E7B19 #35197B #7B195F
monochromatic
#0A1905 #1B480F #2E7B19 #41AE23 #5AD738

Accessibility & contrast

On white

5.30
#2E7B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2E7B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B19
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B19#FFFFFF#000000##FFFFFF
##2E7B191.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F02
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#247769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7b19;
/* rgb */ color: rgb(46, 123, 25);
/* oklch */ color: oklch(51.5% 0.150 140.0);
Tailwind
colors: {
  custom: {
    50: '#71a25e',
    500: '#2e7b19',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b19;
$custom-light: #71a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b19",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 107.143,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5153,
    "c": 0.15049,
    "h": 140
  },
  "luminance": 0.14817
}

Semantic roles & 50–950 ramp

primary
#2E7B19
secondary
#9840AF
accent
#3FE9C5
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2E7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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