#2E7C16#2E7C16

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

Color values

HEX#2E7C16
RGBrgb(46, 124, 22)
HSLhsl(106, 70%, 29%)
HSVhsv(106, 82%, 49%)
CMYKcmyk(62.9%, 0%, 82.3%, 51.4%)
CIE-LABlab(45.71, -42.57, 44.56)
CIE-LCHlch(45.71, 61.62, 133.69°)
OKLaboklab(51.79% -0.117 0.099)
OKLCHoklch(51.79% 0.153 139.8)
XYZxyz(8.4788, 15.0533, 3.2177)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7C16 #64167C
analogous
#617C16 #2E7C16 #167C31
triadic
#2E7C16 #162E7C #7C162E
tetradic
#2E7C16 #16617C #64167C #7C3116
square
#2E7C16 #16617C #64167C #7C3116
split-complementary
#2E7C16 #31167C #7C1661
monochromatic
#0A1A05 #1B480D #2E7C16 #41B01F #5ADB32

Accessibility & contrast

On white

5.24
#2E7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2E7C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7C16
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7C16#FFFFFF#000000##FFFFFF
##2E7C161.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#247869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7c16;
/* rgb */ color: rgb(46, 124, 22);
/* oklch */ color: oklch(51.8% 0.153 139.8);
Tailwind
colors: {
  custom: {
    50: '#71a35d',
    500: '#2e7c16',
    950: '#000000',
  },
}
SCSS
$custom: #2e7c16;
$custom-light: #71a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7c16",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 105.882,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51794,
    "c": 0.15328,
    "h": 139.8
  },
  "luminance": 0.15054
}

Semantic roles & 50–950 ramp

primary
#2E7C16
secondary
#963DB1
accent
#3BEDC3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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