#2E7511#2E7511

#2E7511 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.147 H 138.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2E7511
RGBrgb(46, 117, 17)
HSLhsl(103, 75%, 26%)
HSVhsv(103, 85%, 46%)
CMYKcmyk(60.7%, 0%, 85.5%, 54.1%)
CIE-LABlab(43.28, -40.20, 43.84)
CIE-LCHlch(43.28, 59.48, 132.52°)
OKLaboklab(49.78% -0.1109 0.0968)
OKLCHoklch(49.78% 0.147 138.9)
XYZxyz(7.5889, 13.3432, 2.7058)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7511 #581175
analogous
#607511 #2E7511 #117526
triadic
#2E7511 #112E75 #75112E
tetradic
#2E7511 #116075 #581175 #752611
square
#2E7511 #116075 #581175 #752611
split-complementary
#2E7511 #261175 #751160
monochromatic
#0B1B04 #194009 #2E7511 #43AA19 #58DF22

Accessibility & contrast

On white

5.72
#2E7511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2E7511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7511
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7511#FFFFFF#000000##FFFFFF
##2E75111.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#267163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e7511;
/* rgb */ color: rgb(46, 117, 17);
/* oklch */ color: oklch(49.8% 0.147 138.9);
Tailwind
colors: {
  custom: {
    50: '#709d5a',
    500: '#2e7511',
    950: '#000000',
  },
}
SCSS
$custom: #2e7511;
$custom-light: #709d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7511",
  "rgb": {
    "r": 46,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 102.6,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49776,
    "c": 0.14718,
    "h": 138.9
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#2E7511
secondary
#8A36AC
accent
#37F1BB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7511

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

Preview Lab → · Contrast checker → · Palette generator →

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