#2E7D11#2E7D11

#2E7D11 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.157 H 139.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2E7D11
RGBrgb(46, 125, 17)
HSLhsl(104, 76%, 28%)
HSVhsv(104, 86%, 49%)
CMYKcmyk(63.2%, 0%, 86.4%, 51%)
CIE-LABlab(46.03, -43.22, 46.33)
CIE-LCHlch(46.03, 63.36, 133.01°)
OKLaboklab(52.05% -0.119 0.102)
OKLCHoklch(52.05% 0.157 139.4)
XYZxyz(8.5611, 15.2877, 3.0299)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D11 #60117D
analogous
#647D11 #2E7D11 #117D2A
triadic
#2E7D11 #112E7D #7D112E
tetradic
#2E7D11 #11647D #60117D #7D2A11
square
#2E7D11 #11647D #60117D #7D2A11
split-complementary
#2E7D11 #2A117D #7D1164
monochromatic
#0A1B04 #1A470A #2E7D11 #42B318 #59E227

Accessibility & contrast

On white

5.18
#2E7D11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2E7D11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D11
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D11#FFFFFF#000000##FFFFFF
##2E7D111.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776B1F
Tritanopia (blue-blind)
#24796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7d11;
/* rgb */ color: rgb(46, 125, 17);
/* oklch */ color: oklch(52.0% 0.157 139.4);
Tailwind
colors: {
  custom: {
    50: '#72a35b',
    500: '#2e7d11',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d11;
$custom-light: #72a35b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d11",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 17
  },
  "hsl": {
    "h": 103.889,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5205,
    "c": 0.15674,
    "h": 139.4
  },
  "luminance": 0.15289
}

Semantic roles & 50–950 ramp

primary
#2E7D11
secondary
#9237B3
accent
#35F3C0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2E7D11

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

Preview Lab → · Contrast checker → · Palette generator →

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