#2E4D11#2E4D11

#2E4D11 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.2% C 0.094 H 133.0°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#2E4D11
RGBrgb(46, 77, 17)
HSLhsl(91, 64%, 18%)
HSVhsv(91, 78%, 30%)
CMYKcmyk(40.3%, 0%, 77.9%, 69.8%)
CIE-LABlab(29.23, -22.78, 30.36)
CIE-LCHlch(29.23, 37.96, 126.88°)
OKLaboklab(38.23% -0.064 0.0686)
OKLCHoklch(38.23% 0.094 133)
XYZxyz(3.8817, 5.9289, 1.4701)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D11 #30114D
analogous
#4C4D11 #2E4D11 #114D12
triadic
#2E4D11 #112E4D #4D112E
tetradic
#2E4D11 #114C4D #30114D #4D1211
square
#2E4D11 #114C4D #30114D #4D1211
split-complementary
#2E4D11 #12114D #4D114C
monochromatic
#0F1906 #101B06 #2E4D11 #4C7F1C #6AB127

Accessibility & contrast

On white

9.61
#2E4D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E4D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D11
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D11#FFFFFF#000000##FFFFFF
##2E4D111.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504607
Deuteranopia (green-blind)
#4C4417
Tritanopia (blue-blind)
#2E4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e4d11;
/* rgb */ color: rgb(46, 77, 17);
/* oklch */ color: oklch(38.2% 0.094 133.0);
Tailwind
colors: {
  custom: {
    50: '#6a7f53',
    500: '#2e4d11',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d11;
$custom-light: #6a7f53;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d11",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 17
  },
  "hsl": {
    "h": 91,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38227,
    "c": 0.09379,
    "h": 133
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#2E4D11
secondary
#5E3386
accent
#41E797
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E4D11

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

Preview Lab → · Contrast checker → · Palette generator →

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