#2E7D16#2E7D16

#2E7D16 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.154 H 139.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2E7D16
RGBrgb(46, 125, 22)
HSLhsl(106, 70%, 29%)
HSVhsv(106, 82%, 49%)
CMYKcmyk(63.2%, 0%, 82.4%, 51%)
CIE-LABlab(46.05, -42.94, 44.88)
CIE-LCHlch(46.05, 62.12, 133.74°)
OKLaboklab(52.08% -0.118 0.0997)
OKLCHoklch(52.08% 0.154 139.8)
XYZxyz(8.6048, 15.3052, 3.2596)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D16 #65167D
analogous
#627D16 #2E7D16 #167D32
triadic
#2E7D16 #162E7D #7D162E
tetradic
#2E7D16 #16627D #65167D #7D3216
square
#2E7D16 #16627D #65167D #7D3216
split-complementary
#2E7D16 #32167D #7D1662
monochromatic
#0A1A05 #1B490D #2E7D16 #41B11F #5ADB32

Accessibility & contrast

On white

5.17
#2E7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2E7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D16
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D16#FFFFFF#000000##FFFFFF
##2E7D161.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#23796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7d16;
/* rgb */ color: rgb(46, 125, 22);
/* oklch */ color: oklch(52.1% 0.154 139.8);
Tailwind
colors: {
  custom: {
    50: '#72a35d',
    500: '#2e7d16',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d16;
$custom-light: #72a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d16",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 106.019,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52077,
    "c": 0.15449,
    "h": 139.8
  },
  "luminance": 0.15306
}

Semantic roles & 50–950 ramp

primary
#2E7D16
secondary
#973DB2
accent
#3BEDC3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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