#2E4F11#2E4F11

#2E4F11 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.097 H 133.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2E4F11
RGBrgb(46, 79, 17)
HSLhsl(92, 65%, 19%)
HSVhsv(92, 78%, 31%)
CMYKcmyk(41.8%, 0%, 78.5%, 69%)
CIE-LABlab(29.94, -23.77, 31.08)
CIE-LCHlch(29.94, 39.13, 127.41°)
OKLaboklab(38.81% -0.0667 0.0701)
OKLCHoklch(38.81% 0.097 133.6)
XYZxyz(4.0238, 6.2131, 1.5174)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F11 #32114F
analogous
#4D4F11 #2E4F11 #114F13
triadic
#2E4F11 #112E4F #4F112E
tetradic
#2E4F11 #114D4F #32114F #4F1311
square
#2E4F11 #114D4F #32114F #4F1311
split-complementary
#2E4F11 #13114F #4F114D
monochromatic
#0F1905 #111D06 #2E4F11 #4B811C #69B427

Accessibility & contrast

On white

9.36
#2E4F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E4F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F11
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F11#FFFFFF#000000##FFFFFF
##2E4F111.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524807
Deuteranopia (green-blind)
#4E4617
Tritanopia (blue-blind)
#2E4C43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4f11;
/* rgb */ color: rgb(46, 79, 17);
/* oklch */ color: oklch(38.8% 0.097 133.6);
Tailwind
colors: {
  custom: {
    50: '#6a8054',
    500: '#2e4f11',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f11;
$custom-light: #6a8054;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f11",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 91.935,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38808,
    "c": 0.09673,
    "h": 133.6
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

primary
#2E4F11
secondary
#613388
accent
#40E899
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E4F11

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

Preview Lab → · Contrast checker → · Palette generator →

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