#2E7F11#2E7F11

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

Color values

HEX#2E7F11
RGBrgb(46, 127, 17)
HSLhsl(104, 76%, 28%)
HSVhsv(104, 87%, 50%)
CMYKcmyk(63.8%, 0%, 86.6%, 50.2%)
CIE-LABlab(46.71, -43.96, 46.95)
CIE-LCHlch(46.71, 64.32, 133.12°)
OKLaboklab(52.62% -0.121 0.1033)
OKLCHoklch(52.62% 0.159 139.5)
XYZxyz(8.8169, 15.7992, 3.1151)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F11 #62117F
analogous
#657F11 #2E7F11 #117F2B
triadic
#2E7F11 #112E7F #7F112E
tetradic
#2E7F11 #11657F #62117F #7F2B11
square
#2E7F11 #11657F #62117F #7F2B11
split-complementary
#2E7F11 #2B117F #7F1165
monochromatic
#0A1B04 #1A490A #2E7F11 #42B518 #59E228

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7F11#FFFFFF#000000##FFFFFF
##2E7F111.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)
#796C20
Tritanopia (blue-blind)
#237A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7f11;
/* rgb */ color: rgb(46, 127, 17);
/* oklch */ color: oklch(52.6% 0.159 139.5);
Tailwind
colors: {
  custom: {
    50: '#72a55b',
    500: '#2e7f11',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f11;
$custom-light: #72a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f11",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 104.182,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52616,
    "c": 0.15909,
    "h": 139.5
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

primary
#2E7F11
secondary
#9437B5
accent
#35F3C1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2E7F11

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

Preview Lab → · Contrast checker → · Palette generator →

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