#2E7719#2E7719

#2E7719 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.146 H 139.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2E7719
RGBrgb(46, 119, 25)
HSLhsl(107, 65%, 28%)
HSVhsv(107, 79%, 47%)
CMYKcmyk(61.3%, 0%, 79%, 53.3%)
CIE-LABlab(44.01, -40.46, 41.90)
CIE-LCHlch(44.01, 58.25, 134.00°)
OKLaboklab(50.4% -0.1112 0.0939)
OKLCHoklch(50.4% 0.146 139.8)
XYZxyz(7.8987, 13.8440, 3.1754)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7719 #621977
analogous
#5D7719 #2E7719 #197733
triadic
#2E7719 #192E77 #77192E
tetradic
#2E7719 #195D77 #621977 #773319
square
#2E7719 #195D77 #621977 #773319
split-complementary
#2E7719 #331977 #77195D
monochromatic
#0A1905 #1A440E #2E7719 #42AA24 #59D536

Accessibility & contrast

On white

5.57
#2E7719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2E7719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7719
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7719#FFFFFF#000000##FFFFFF
##2E77191.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C04
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#257365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2e7719;
/* rgb */ color: rgb(46, 119, 25);
/* oklch */ color: oklch(50.4% 0.146 139.8);
Tailwind
colors: {
  custom: {
    50: '#709f5d',
    500: '#2e7719',
    950: '#000000',
  },
}
SCSS
$custom: #2e7719;
$custom-light: #709f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7719",
  "rgb": {
    "r": 46,
    "g": 119,
    "b": 25
  },
  "hsl": {
    "h": 106.596,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50395,
    "c": 0.14554,
    "h": 139.8
  },
  "luminance": 0.13845
}

Semantic roles & 50–950 ramp

primary
#2E7719
secondary
#9440AC
accent
#40E8C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E7719

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

Preview Lab → · Contrast checker → · Palette generator →

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