#2E7916#2E7916

#2E7916 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.150 H 139.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2E7916
RGBrgb(46, 121, 22)
HSLhsl(105, 69%, 28%)
HSVhsv(105, 82%, 47%)
CMYKcmyk(62%, 0%, 81.8%, 52.5%)
CIE-LABlab(44.68, -41.43, 43.59)
CIE-LCHlch(44.68, 60.14, 133.55°)
OKLaboklab(50.94% -0.1139 0.097)
OKLCHoklch(50.94% 0.15 139.6)
XYZxyz(8.1086, 14.3128, 3.0942)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7916 #611679
analogous
#5F7916 #2E7916 #167930
triadic
#2E7916 #162E79 #79162E
tetradic
#2E7916 #165F79 #611679 #793016
square
#2E7916 #165F79 #611679 #793016
split-complementary
#2E7916 #301679 #79165F
monochromatic
#0A1A05 #1A450D #2E7916 #42AD1F #59D930

Accessibility & contrast

On white

5.44
#2E7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2E7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7916
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7916#FFFFFF#000000##FFFFFF
##2E79161.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#257567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e7916;
/* rgb */ color: rgb(46, 121, 22);
/* oklch */ color: oklch(50.9% 0.150 139.6);
Tailwind
colors: {
  custom: {
    50: '#71a05c',
    500: '#2e7916',
    950: '#000000',
  },
}
SCSS
$custom: #2e7916;
$custom-light: #71a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7916",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 105.455,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50943,
    "c": 0.14964,
    "h": 139.6
  },
  "luminance": 0.14314
}

Semantic roles & 50–950 ramp

primary
#2E7916
secondary
#933DAE
accent
#3CECC1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #2E7916

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

Preview Lab → · Contrast checker → · Palette generator →

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