#2E3412#2E3412

#2E3412 is a dark, muted yellow-green. Relative luminance 0.031; OKLCH L 31.0% C 0.054 H 118.0°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#2E3412
RGBrgb(46, 52, 18)
HSLhsl(71, 49%, 14%)
HSVhsv(71, 65%, 20%)
CMYKcmyk(11.5%, 0%, 65.4%, 79.6%)
CIE-LABlab(20.36, -8.76, 20.30)
CIE-LCHlch(20.36, 22.11, 113.34°)
OKLaboklab(31.05% -0.0252 0.0474)
OKLCHoklch(31.05% 0.054 118)
XYZxyz(2.4639, 3.0805, 1.0369)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3412 #181234
analogous
#342912 #2E3412 #1D3412
triadic
#2E3412 #122E34 #34122E
tetradic
#2E3412 #123429 #181234 #34121D
square
#2E3412 #123429 #181234 #34121D
split-complementary
#2E3412 #121D34 #291234
monochromatic
#141708 #141708 #2E3412 #566122 #7E8F31

Accessibility & contrast

On white

13.00
#2E3412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2E3412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3412
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3412#FFFFFF#000000##FFFFFF
##2E34121.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310F
Deuteranopia (green-blind)
#373114
Tritanopia (blue-blind)
#31312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e3412;
/* rgb */ color: rgb(46, 52, 18);
/* oklch */ color: oklch(31.0% 0.054 118.0);
Tailwind
colors: {
  custom: {
    50: '#686b51',
    500: '#2e3412',
    950: '#000000',
  },
}
SCSS
$custom: #2e3412;
$custom-light: #686b51;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3412",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 18
  },
  "hsl": {
    "h": 70.588,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31045,
    "c": 0.05371,
    "h": 118
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#2E3412
secondary
#3F356C
accent
#50D868
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2E3412

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

Preview Lab → · Contrast checker → · Palette generator →

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