#2E7B16#2E7B16

#2E7B16 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.152 H 139.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2E7B16
RGBrgb(46, 123, 22)
HSLhsl(106, 70%, 28%)
HSVhsv(106, 82%, 48%)
CMYKcmyk(62.6%, 0%, 82.1%, 51.8%)
CIE-LABlab(45.36, -42.19, 44.23)
CIE-LCHlch(45.36, 61.13, 133.65°)
OKLaboklab(51.51% -0.116 0.0984)
OKLCHoklch(51.51% 0.152 139.7)
XYZxyz(8.3541, 14.8039, 3.1761)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B16 #63167B
analogous
#607B16 #2E7B16 #167B31
triadic
#2E7B16 #162E7B #7B162E
tetradic
#2E7B16 #16607B #63167B #7B3116
square
#2E7B16 #16607B #63167B #7B3116
split-complementary
#2E7B16 #31167B #7B1660
monochromatic
#0A1A05 #1B470D #2E7B16 #41AF1F #59DA31

Accessibility & contrast

On white

5.30
#2E7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2E7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B16
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B16#FFFFFF#000000##FFFFFF
##2E7B161.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#247768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7b16;
/* rgb */ color: rgb(46, 123, 22);
/* oklch */ color: oklch(51.5% 0.152 139.7);
Tailwind
colors: {
  custom: {
    50: '#71a25d',
    500: '#2e7b16',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b16;
$custom-light: #71a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b16",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 105.743,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.15207,
    "h": 139.7
  },
  "luminance": 0.14805
}

Semantic roles & 50–950 ramp

primary
#2E7B16
secondary
#953DB0
accent
#3BECC2
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2E7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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