#2E5E11#2E5E11

#2E5E11 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.2% C 0.118 H 136.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2E5E11
RGBrgb(46, 94, 17)
HSLhsl(97, 69%, 22%)
HSVhsv(97, 82%, 37%)
CMYKcmyk(51.1%, 0%, 81.9%, 63.1%)
CIE-LABlab(35.25, -30.74, 36.32)
CIE-LCHlch(35.25, 47.58, 130.25°)
OKLaboklab(43.16% -0.0855 0.081)
OKLCHoklch(43.16% 0.118 136.5)
XYZxyz(5.2304, 8.6264, 1.9196)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E11 #41115E
analogous
#555E11 #2E5E11 #115E1B
triadic
#2E5E11 #112E5E #5E112E
tetradic
#2E5E11 #11555E #41115E #5E1B11
square
#2E5E11 #11555E #41115E #5E1B11
split-complementary
#2E5E11 #1B115E #5E1155
monochromatic
#0D1A05 #152A08 #2E5E11 #47921A #61C624

Accessibility & contrast

On white

7.71
#2E5E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2E5E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5E11
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5E11#FFFFFF#000000##FFFFFF
##2E5E111.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615501
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#2C5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5e11;
/* rgb */ color: rgb(46, 94, 17);
/* oklch */ color: oklch(43.2% 0.118 136.5);
Tailwind
colors: {
  custom: {
    50: '#6c8c56',
    500: '#2e5e11',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e11;
$custom-light: #6c8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e11",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 97.403,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43162,
    "c": 0.11779,
    "h": 136.5
  },
  "luminance": 0.08627
}

Semantic roles & 50–950 ramp

primary
#2E5E11
secondary
#723497
accent
#3CECAA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5E11

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

Preview Lab → · Contrast checker → · Palette generator →

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