#2E5D11#2E5D11

#2E5D11 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 42.9% C 0.116 H 136.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2E5D11
RGBrgb(46, 93, 17)
HSLhsl(97, 69%, 22%)
HSVhsv(97, 82%, 36%)
CMYKcmyk(50.5%, 0%, 81.7%, 63.5%)
CIE-LABlab(34.90, -30.30, 35.98)
CIE-LCHlch(34.90, 47.04, 130.11°)
OKLaboklab(42.87% -0.0843 0.0803)
OKLCHoklch(42.87% 0.116 136.4)
XYZxyz(5.1421, 8.4497, 1.8902)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D11 #40115D
analogous
#545D11 #2E5D11 #115D1A
triadic
#2E5D11 #112E5D #5D112E
tetradic
#2E5D11 #11545D #40115D #5D1A11
square
#2E5D11 #11545D #40115D #5D1A11
split-complementary
#2E5D11 #1A115D #5D1154
monochromatic
#0D1A05 #142908 #2E5D11 #48911A #61C424

Accessibility & contrast

On white

7.81
#2E5D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2E5D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5D11
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5D11#FFFFFF#000000##FFFFFF
##2E5D111.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605502
Deuteranopia (green-blind)
#5A5119
Tritanopia (blue-blind)
#2C594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e5d11;
/* rgb */ color: rgb(46, 93, 17);
/* oklch */ color: oklch(42.9% 0.116 136.4);
Tailwind
colors: {
  custom: {
    50: '#6c8b56',
    500: '#2e5d11',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d11;
$custom-light: #6c8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d11",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 17
  },
  "hsl": {
    "h": 97.105,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42873,
    "c": 0.11644,
    "h": 136.4
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#2E5D11
secondary
#703496
accent
#3CECA9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5D11

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

Preview Lab → · Contrast checker → · Palette generator →

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