#2E7311#2E7311

#2E7311 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.145 H 138.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2E7311
RGBrgb(46, 115, 17)
HSLhsl(102, 74%, 26%)
HSVhsv(102, 85%, 45%)
CMYKcmyk(60%, 0%, 85.2%, 54.9%)
CIE-LABlab(42.59, -39.42, 43.20)
CIE-LCHlch(42.59, 58.49, 132.38°)
OKLaboklab(49.21% -0.1088 0.0954)
OKLCHoklch(49.21% 0.145 138.8)
XYZxyz(7.3583, 12.8821, 2.6289)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7311 #561173
analogous
#5F7311 #2E7311 #117325
triadic
#2E7311 #112E73 #73112E
tetradic
#2E7311 #115F73 #561173 #732511
square
#2E7311 #115F73 #561173 #732511
split-complementary
#2E7311 #251173 #73115F
monochromatic
#0B1B04 #193E09 #2E7311 #43A819 #59DE21

Accessibility & contrast

On white

5.87
#2E7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2E7311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7311
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7311#FFFFFF#000000##FFFFFF
##2E73111.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#276F61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e7311;
/* rgb */ color: rgb(46, 115, 17);
/* oklch */ color: oklch(49.2% 0.145 138.8);
Tailwind
colors: {
  custom: {
    50: '#709c59',
    500: '#2e7311',
    950: '#000000',
  },
}
SCSS
$custom: #2e7311;
$custom-light: #709c59;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7311",
  "rgb": {
    "r": 46,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 102.245,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49205,
    "c": 0.14474,
    "h": 138.8
  },
  "luminance": 0.12883
}

Semantic roles & 50–950 ramp

primary
#2E7311
secondary
#8836AA
accent
#37F1BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7311

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

Preview Lab → · Contrast checker → · Palette generator →

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