#2E4511#2E4511

#2E4511 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.082 H 130.2°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2E4511
RGBrgb(46, 69, 17)
HSLhsl(87, 60%, 17%)
HSVhsv(87, 75%, 27%)
CMYKcmyk(33.3%, 0%, 75.4%, 72.9%)
CIE-LABlab(26.38, -18.65, 27.42)
CIE-LCHlch(26.38, 33.17, 124.22°)
OKLaboklab(35.91% -0.0527 0.0624)
OKLCHoklch(35.91% 0.082 130.2)
XYZxyz(3.3560, 4.8775, 1.2948)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4511 #281145
analogous
#454211 #2E4511 #144511
triadic
#2E4511 #112E45 #45112E
tetradic
#2E4511 #114542 #281145 #451114
square
#2E4511 #114542 #281145 #451114
split-complementary
#2E4511 #111445 #421145
monochromatic
#101906 #101906 #2E4511 #4F761D #6FA729

Accessibility & contrast

On white

10.63
#2E4511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E4511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4511
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4511#FFFFFF#000000##FFFFFF
##2E45111.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0A
Deuteranopia (green-blind)
#453E15
Tritanopia (blue-blind)
#2F423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e4511;
/* rgb */ color: rgb(46, 69, 17);
/* oklch */ color: oklch(35.9% 0.082 130.2);
Tailwind
colors: {
  custom: {
    50: '#697952',
    500: '#2e4511',
    950: '#000000',
  },
}
SCSS
$custom: #2e4511;
$custom-light: #697952;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4511",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 17
  },
  "hsl": {
    "h": 86.538,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35905,
    "c": 0.08169,
    "h": 130.2
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#2E4511
secondary
#55337F
accent
#44E48B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E4511

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

Preview Lab → · Contrast checker → · Palette generator →

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