#2E7319#2E7319

#2E7319 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.141 H 139.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2E7319
RGBrgb(46, 115, 25)
HSLhsl(106, 64%, 27%)
HSVhsv(106, 78%, 45%)
CMYKcmyk(60%, 0%, 78.3%, 54.9%)
CIE-LABlab(42.63, -38.90, 40.55)
CIE-LCHlch(42.63, 56.19, 133.81°)
OKLaboklab(49.26% -0.107 0.0911)
OKLCHoklch(49.26% 0.141 139.6)
XYZxyz(7.4326, 12.9119, 3.0201)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7319 #5E1973
analogous
#5B7319 #2E7319 #197331
triadic
#2E7319 #192E73 #73192E
tetradic
#2E7319 #195B73 #5E1973 #733119
square
#2E7319 #195B73 #5E1973 #733119
split-complementary
#2E7319 #311973 #73195B
monochromatic
#0A1905 #1A410E #2E7319 #42A524 #59D334

Accessibility & contrast

On white

5.86
#2E7319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2E7319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7319
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7319#FFFFFF#000000##FFFFFF
##2E73191.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766806
Deuteranopia (green-blind)
#6E6223
Tritanopia (blue-blind)
#266F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e7319;
/* rgb */ color: rgb(46, 115, 25);
/* oklch */ color: oklch(49.3% 0.141 139.6);
Tailwind
colors: {
  custom: {
    50: '#709c5d',
    500: '#2e7319',
    950: '#000000',
  },
}
SCSS
$custom: #2e7319;
$custom-light: #709c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7319",
  "rgb": {
    "r": 46,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 106,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49256,
    "c": 0.1405,
    "h": 139.6
  },
  "luminance": 0.12912
}

Semantic roles & 50–950 ramp

primary
#2E7319
secondary
#9040A8
accent
#41E7C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7319

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

Preview Lab → · Contrast checker → · Palette generator →

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