#2E401B#2E401B

#2E401B is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.6% C 0.063 H 130.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2E401B
RGBrgb(46, 64, 27)
HSLhsl(89, 41%, 18%)
HSVhsv(89, 58%, 25%)
CMYKcmyk(28.1%, 0%, 57.8%, 74.9%)
CIE-LABlab(24.72, -14.79, 20.17)
CIE-LCHlch(24.72, 25.01, 126.25°)
OKLaboklab(34.6% -0.0411 0.0481)
OKLCHoklch(34.6% 0.063 130.5)
XYZxyz(3.1579, 4.3267, 1.7055)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E401B #2D1B40
analogous
#403F1B #2E401B #1C401B
triadic
#2E401B #1B2E40 #401B2E
tetradic
#2E401B #1B403F #2D1B40 #401B1C
square
#2E401B #1B403F #2D1B40 #401B1C
split-complementary
#2E401B #1B1C40 #3F1B40
monochromatic
#0F1609 #0F1609 #2E401B #4D6B2D #6C963F

Accessibility & contrast

On white

11.26
#2E401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E401B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E401B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E401B#FFFFFF#000000##FFFFFF
##2E401B1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C18
Deuteranopia (green-blind)
#403A1D
Tritanopia (blue-blind)
#2F3D38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e401b;
/* rgb */ color: rgb(46, 64, 27);
/* oklch */ color: oklch(34.6% 0.063 130.5);
Tailwind
colors: {
  custom: {
    50: '#687558',
    500: '#2e401b',
    950: '#000000',
  },
}
SCSS
$custom: #2e401b;
$custom-light: #687558;
$custom-dark: #000000;
JSON
{
  "hex": "#2e401b",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 89.189,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.34596,
    "c": 0.0633,
    "h": 130.5
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

primary
#2E401B
secondary
#5B4175
accent
#57D192
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2E401B

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

Preview Lab → · Contrast checker → · Palette generator →

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