#2E401C#2E401C

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

Color values

HEX#2E401C
RGBrgb(46, 64, 28)
HSLhsl(90, 39%, 18%)
HSVhsv(90, 56%, 25%)
CMYKcmyk(28.1%, 0%, 56.2%, 74.9%)
CIE-LABlab(24.74, -14.66, 19.60)
CIE-LCHlch(24.74, 24.47, 126.79°)
OKLaboklab(34.61% -0.0406 0.047)
OKLCHoklch(34.61% 0.062 130.9)
XYZxyz(3.1697, 4.3314, 1.7674)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E401C #2E1C40
analogous
#40401C #2E401C #1C401C
triadic
#2E401C #1C2E40 #401C2E
tetradic
#2E401C #1C4040 #2E1C40 #401C1C
square
#2E401C #1C4040 #2E1C40 #401C1C
split-complementary
#2E401C #1C1C40 #401C40
monochromatic
#0F1509 #0F1509 #2E401C #4D6B2F #6B9541

Accessibility & contrast

On white

11.25
#2E401C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E401C
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E401C#FFFFFF#000000##FFFFFF
##2E401C1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e401c;
/* rgb */ color: rgb(46, 64, 28);
/* oklch */ color: oklch(34.6% 0.062 130.9);
Tailwind
colors: {
  custom: {
    50: '#687559',
    500: '#2e401c',
    950: '#000000',
  },
}
SCSS
$custom: #2e401c;
$custom-light: #687559;
$custom-dark: #000000;
JSON
{
  "hex": "#2e401c",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 90,
    "s": 39.13,
    "l": 18.039
  },
  "oklch": {
    "l": 0.34613,
    "c": 0.0621,
    "h": 130.9
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#2E401C
secondary
#5C4375
accent
#59CF94
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2E401C

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

Preview Lab → · Contrast checker → · Palette generator →

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