#2E511B#2E511B

#2E511B is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.5% C 0.091 H 136.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2E511B
RGBrgb(46, 81, 27)
HSLhsl(99, 50%, 21%)
HSVhsv(99, 67%, 32%)
CMYKcmyk(43.2%, 0%, 66.7%, 68.2%)
CIE-LABlab(30.75, -23.79, 27.18)
CIE-LCHlch(30.75, 36.12, 131.20°)
OKLaboklab(39.49% -0.0659 0.0633)
OKLCHoklch(39.49% 0.091 136.2)
XYZxyz(4.2669, 6.5446, 2.0751)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E511B #3E1B51
analogous
#49511B #2E511B #1B5123
triadic
#2E511B #1B2E51 #511B2E
tetradic
#2E511B #1B4951 #3E1B51 #51231B
square
#2E511B #1B4951 #3E1B51 #51231B
split-complementary
#2E511B #231B51 #511B49
monochromatic
#0D1708 #14230C #2E511B #487F2A #62AD3A

Accessibility & contrast

On white

9.09
#2E511B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2E511B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E511B
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E511B#FFFFFF#000000##FFFFFF
##2E511B1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A15
Deuteranopia (green-blind)
#4F471F
Tritanopia (blue-blind)
#2D4E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e511b;
/* rgb */ color: rgb(46, 81, 27);
/* oklch */ color: oklch(39.5% 0.091 136.2);
Tailwind
colors: {
  custom: {
    50: '#6a825a',
    500: '#2e511b',
    950: '#000000',
  },
}
SCSS
$custom: #2e511b;
$custom-light: #6a825a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e511b",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 98.889,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39494,
    "c": 0.09135,
    "h": 136.2
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

primary
#2E511B
secondary
#6E4187
accent
#4EDAA9
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A04
muted
#7A7C79

Preview Lab

Preview with #2E511B

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

Preview Lab → · Contrast checker → · Palette generator →

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