#2E7D19#2E7D19

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

Color values

HEX#2E7D19
RGBrgb(46, 125, 25)
HSLhsl(107, 67%, 29%)
HSVhsv(107, 80%, 49%)
CMYKcmyk(63.2%, 0%, 80%, 51%)
CIE-LABlab(46.07, -42.75, 43.90)
CIE-LCHlch(46.07, 61.28, 134.24°)
OKLaboklab(52.1% -0.1173 0.0981)
OKLCHoklch(52.1% 0.153 140.1)
XYZxyz(8.6354, 15.3175, 3.4210)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D19 #68197D
analogous
#607D19 #2E7D19 #197D36
triadic
#2E7D19 #192E7D #7D192E
tetradic
#2E7D19 #19607D #68197D #7D3619
square
#2E7D19 #19607D #68197D #7D3619
split-complementary
#2E7D19 #36197D #7D1960
monochromatic
#091A05 #1B4A0F #2E7D19 #41B023 #5AD739

Accessibility & contrast

On white

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

On black

4.06
#2E7D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2E7D19#FFFFFF#000000##FFFFFF
##2E7D191.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e7d19;
/* rgb */ color: rgb(46, 125, 25);
/* oklch */ color: oklch(52.1% 0.153 140.1);
Tailwind
colors: {
  custom: {
    50: '#72a35e',
    500: '#2e7d19',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d19;
$custom-light: #72a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d19",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 107.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52096,
    "c": 0.15293,
    "h": 140.1
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#2E7D19
secondary
#9A40B1
accent
#3EEAC6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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