#2E7F14#2E7F14

#2E7F14 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.158 H 139.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2E7F14
RGBrgb(46, 127, 20)
HSLhsl(105, 73%, 29%)
HSVhsv(105, 84%, 50%)
CMYKcmyk(63.8%, 0%, 84.3%, 50.2%)
CIE-LABlab(46.72, -43.80, 46.12)
CIE-LCHlch(46.72, 63.61, 133.52°)
OKLaboklab(52.63% -0.1204 0.102)
OKLCHoklch(52.63% 0.158 139.7)
XYZxyz(8.8420, 15.8093, 3.2472)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F14 #65147F
analogous
#647F14 #2E7F14 #147F30
triadic
#2E7F14 #142E7F #7F142E
tetradic
#2E7F14 #14647F #65147F #7F3014
square
#2E7F14 #14647F #65147F #7F3014
split-complementary
#2E7F14 #30147F #7F1464
monochromatic
#0A1A04 #1B4A0C #2E7F14 #41B41C #5ADE2F

Accessibility & contrast

On white

5.05
#2E7F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2E7F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7F14
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7F14#FFFFFF#000000##FFFFFF
##2E7F141.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#237B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7f14;
/* rgb */ color: rgb(46, 127, 20);
/* oklch */ color: oklch(52.6% 0.158 139.7);
Tailwind
colors: {
  custom: {
    50: '#72a55c',
    500: '#2e7f14',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f14;
$custom-light: #72a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f14",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 105.421,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52632,
    "c": 0.15782,
    "h": 139.7
  },
  "luminance": 0.1581
}

Semantic roles & 50–950 ramp

primary
#2E7F14
secondary
#973BB4
accent
#38EFC3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2E7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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