#2E7A16#2E7A16

#2E7A16 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.151 H 139.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2E7A16
RGBrgb(46, 122, 22)
HSLhsl(106, 69%, 28%)
HSVhsv(106, 82%, 48%)
CMYKcmyk(62.3%, 0%, 82%, 52.2%)
CIE-LABlab(45.02, -41.81, 43.91)
CIE-LCHlch(45.02, 60.63, 133.60°)
OKLaboklab(51.23% -0.115 0.0977)
OKLCHoklch(51.23% 0.151 139.7)
XYZxyz(8.2307, 14.5571, 3.1350)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7A16 #62167A
analogous
#607A16 #2E7A16 #167A30
triadic
#2E7A16 #162E7A #7A162E
tetradic
#2E7A16 #16607A #62167A #7A3016
square
#2E7A16 #16607A #62167A #7A3016
split-complementary
#2E7A16 #30167A #7A1660
monochromatic
#0A1A05 #1A460D #2E7A16 #42AE1F #59DA31

Accessibility & contrast

On white

5.37
#2E7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2E7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7A16
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7A16#FFFFFF#000000##FFFFFF
##2E7A161.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#247668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7a16;
/* rgb */ color: rgb(46, 122, 22);
/* oklch */ color: oklch(51.2% 0.151 139.7);
Tailwind
colors: {
  custom: {
    50: '#71a15c',
    500: '#2e7a16',
    950: '#000000',
  },
}
SCSS
$custom: #2e7a16;
$custom-light: #71a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7a16",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 105.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51227,
    "c": 0.15086,
    "h": 139.7
  },
  "luminance": 0.14558
}

Semantic roles & 50–950 ramp

primary
#2E7A16
secondary
#943DAF
accent
#3CECC2
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2E7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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