#2E7E16#2E7E16

#2E7E16 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.156 H 139.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2E7E16
RGBrgb(46, 126, 22)
HSLhsl(106, 70%, 29%)
HSVhsv(106, 83%, 49%)
CMYKcmyk(63.5%, 0%, 82.5%, 50.6%)
CIE-LABlab(46.39, -43.32, 45.20)
CIE-LCHlch(46.39, 62.61, 133.78°)
OKLaboklab(52.36% -0.119 0.1004)
OKLCHoklch(52.36% 0.156 139.9)
XYZxyz(8.7320, 15.5597, 3.3021)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E16 #66167E
analogous
#627E16 #2E7E16 #167E32
triadic
#2E7E16 #162E7E #7E162E
tetradic
#2E7E16 #16627E #66167E #7E3216
square
#2E7E16 #16627E #66167E #7E3216
split-complementary
#2E7E16 #32167E #7E1662
monochromatic
#0A1A05 #1B4A0D #2E7E16 #41B21F #5ADB33

Accessibility & contrast

On white

5.11
#2E7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2E7E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7E16
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E16#FFFFFF#000000##FFFFFF
##2E7E161.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#237A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7e16;
/* rgb */ color: rgb(46, 126, 22);
/* oklch */ color: oklch(52.4% 0.156 139.9);
Tailwind
colors: {
  custom: {
    50: '#72a45d',
    500: '#2e7e16',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e16;
$custom-light: #72a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e16",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 106.154,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.15568,
    "h": 139.9
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

primary
#2E7E16
secondary
#983DB3
accent
#3BEDC4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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