#2E4209#2E4209

#2E4209 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.083 H 127.6°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#2E4209
RGBrgb(46, 66, 9)
HSLhsl(81, 76%, 15%)
HSVhsv(81, 86%, 26%)
CMYKcmyk(30.3%, 0%, 86.4%, 74.1%)
CIE-LABlab(25.25, -17.64, 29.78)
CIE-LCHlch(25.25, 34.61, 120.64°)
OKLaboklab(34.97% -0.0507 0.0659)
OKLCHoklch(34.97% 0.083 127.6)
XYZxyz(3.1242, 4.4969, 0.9618)
Luminance0.0450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4209 #1D0942
analogous
#423A09 #2E4209 #114209
triadic
#2E4209 #092E42 #42092E
tetradic
#2E4209 #09423A #1D0942 #420911
square
#2E4209 #09423A #1D0942 #420911
split-complementary
#2E4209 #091142 #3A0942
monochromatic
#131B04 #131B04 #2E4209 #547810 #79AE18

Accessibility & contrast

On white

11.06
#2E4209 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E4209 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4209
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4209#FFFFFF#000000##FFFFFF
##2E42091.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#433B0F
Tritanopia (blue-blind)
#303F37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e4209;
/* rgb */ color: rgb(46, 66, 9);
/* oklch */ color: oklch(35.0% 0.083 127.6);
Tailwind
colors: {
  custom: {
    50: '#69764d',
    500: '#2e4209',
    950: '#000000',
  },
}
SCSS
$custom: #2e4209;
$custom-light: #69764d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4209",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 9
  },
  "hsl": {
    "h": 81.053,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34965,
    "c": 0.08317,
    "h": 127.6
  },
  "luminance": 0.04497
}

Semantic roles & 50–950 ramp

primary
#2E4209
secondary
#462780
accent
#35F378
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E4209

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

Preview Lab → · Contrast checker → · Palette generator →

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