#2E5B11#2E5B11

#2E5B11 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.3% C 0.114 H 136.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2E5B11
RGBrgb(46, 91, 17)
HSLhsl(96, 69%, 21%)
HSVhsv(96, 81%, 36%)
CMYKcmyk(49.5%, 0%, 81.3%, 64.3%)
CIE-LABlab(34.20, -29.41, 35.29)
CIE-LCHlch(34.20, 45.94, 129.80°)
OKLaboklab(42.29% -0.0819 0.0789)
OKLCHoklch(42.29% 0.114 136.1)
XYZxyz(4.9688, 8.1032, 1.8324)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5B11 #3E115B
analogous
#535B11 #2E5B11 #115B19
triadic
#2E5B11 #112E5B #5B112E
tetradic
#2E5B11 #11535B #3E115B #5B1911
square
#2E5B11 #11535B #3E115B #5B1911
split-complementary
#2E5B11 #19115B #5B1153
monochromatic
#0D1A05 #142707 #2E5B11 #488F1B #62C224

Accessibility & contrast

On white

8.01
#2E5B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2E5B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5B11
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5B11#FFFFFF#000000##FFFFFF
##2E5B111.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5302
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#2C574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5b11;
/* rgb */ color: rgb(46, 91, 17);
/* oklch */ color: oklch(42.3% 0.114 136.1);
Tailwind
colors: {
  custom: {
    50: '#6c8a55',
    500: '#2e5b11',
    950: '#000000',
  },
}
SCSS
$custom: #2e5b11;
$custom-light: #6c8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5b11",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 17
  },
  "hsl": {
    "h": 96.486,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42293,
    "c": 0.11372,
    "h": 136.1
  },
  "luminance": 0.08103
}

Semantic roles & 50–950 ramp

primary
#2E5B11
secondary
#6E3494
accent
#3CEBA7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5B11

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

Preview Lab → · Contrast checker → · Palette generator →

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