#2E7816#2E7816

#2E7816 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.148 H 139.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2E7816
RGBrgb(46, 120, 22)
HSLhsl(105, 69%, 28%)
HSVhsv(105, 82%, 47%)
CMYKcmyk(61.7%, 0%, 81.7%, 52.9%)
CIE-LABlab(44.33, -41.05, 43.26)
CIE-LCHlch(44.33, 59.64, 133.50°)
OKLaboklab(50.66% -0.1129 0.0963)
OKLCHoklch(50.66% 0.148 139.5)
XYZxyz(7.9877, 14.0710, 3.0539)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7816 #601678
analogous
#5F7816 #2E7816 #16782F
triadic
#2E7816 #162E78 #78162E
tetradic
#2E7816 #165F78 #601678 #782F16
square
#2E7816 #165F78 #601678 #782F16
split-complementary
#2E7816 #2F1678 #78165F
monochromatic
#0A1A05 #1A440D #2E7816 #42AC1F #59D92F

Accessibility & contrast

On white

5.51
#2E7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2E7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7816
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7816#FFFFFF#000000##FFFFFF
##2E78161.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#257466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2e7816;
/* rgb */ color: rgb(46, 120, 22);
/* oklch */ color: oklch(50.7% 0.148 139.5);
Tailwind
colors: {
  custom: {
    50: '#71a05c',
    500: '#2e7816',
    950: '#000000',
  },
}
SCSS
$custom: #2e7816;
$custom-light: #71a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7816",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 105.306,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50659,
    "c": 0.14842,
    "h": 139.5
  },
  "luminance": 0.14072
}

Semantic roles & 50–950 ramp

primary
#2E7816
secondary
#923CAD
accent
#3CECC1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #2E7816

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

Preview Lab → · Contrast checker → · Palette generator →

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