#2E4E11#2E4E11

#2E4E11 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.5% C 0.095 H 133.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2E4E11
RGBrgb(46, 78, 17)
HSLhsl(91, 64%, 19%)
HSVhsv(91, 78%, 31%)
CMYKcmyk(41%, 0%, 78.2%, 69.4%)
CIE-LABlab(29.59, -23.28, 30.72)
CIE-LCHlch(29.59, 38.55, 127.15°)
OKLaboklab(38.52% -0.0653 0.0693)
OKLCHoklch(38.52% 0.095 133.3)
XYZxyz(3.9522, 6.0699, 1.4936)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E11 #31114E
analogous
#4C4E11 #2E4E11 #114E12
triadic
#2E4E11 #112E4E #4E112E
tetradic
#2E4E11 #114C4E #31114E #4E1211
square
#2E4E11 #114C4E #31114E #4E1211
split-complementary
#2E4E11 #12114E #4E114C
monochromatic
#0F1905 #101C06 #2E4E11 #4C801C #69B227

Accessibility & contrast

On white

9.49
#2E4E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2E4E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E11
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E11#FFFFFF#000000##FFFFFF
##2E4E111.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514707
Deuteranopia (green-blind)
#4D4517
Tritanopia (blue-blind)
#2E4B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4e11;
/* rgb */ color: rgb(46, 78, 17);
/* oklch */ color: oklch(38.5% 0.095 133.3);
Tailwind
colors: {
  custom: {
    50: '#6a8053',
    500: '#2e4e11',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e11;
$custom-light: #6a8053;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e11",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 91.475,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38517,
    "c": 0.09527,
    "h": 133.3
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#2E4E11
secondary
#5F3387
accent
#41E798
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E4E11

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

Preview Lab → · Contrast checker → · Palette generator →

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