#2E341B#2E341B

#2E341B is a dark, muted yellow-green. Relative luminance 0.031; OKLCH L 31.2% C 0.042 H 119.9°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#2E341B
RGBrgb(46, 52, 27)
HSLhsl(74, 32%, 15%)
HSVhsv(74, 48%, 20%)
CMYKcmyk(11.5%, 0%, 48.1%, 79.6%)
CIE-LABlab(20.50, -7.61, 14.95)
CIE-LCHlch(20.50, 16.78, 116.97°)
OKLaboklab(31.2% -0.021 0.0365)
OKLCHoklch(31.2% 0.042 119.9)
XYZxyz(2.5525, 3.1160, 1.5037)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E341B #211B34
analogous
#342D1B #2E341B #21341B
triadic
#2E341B #1B2E34 #341B2E
tetradic
#2E341B #1B342D #211B34 #341B21
square
#2E341B #1B342D #211B34 #341B21
split-complementary
#2E341B #1B2134 #2D1B34
monochromatic
#12140A #12140A #2E341B #525C30 #758545

Accessibility & contrast

On white

12.94
#2E341B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E341B
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E341B#FFFFFF#000000##FFFFFF
##2E341B1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373119
Deuteranopia (green-blind)
#36311C
Tritanopia (blue-blind)
#30322E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e341b;
/* rgb */ color: rgb(46, 52, 27);
/* oklch */ color: oklch(31.2% 0.042 119.9);
Tailwind
colors: {
  custom: {
    50: '#676b57',
    500: '#2e341b',
    950: '#000000',
  },
}
SCSS
$custom: #2e341b;
$custom-light: #676b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e341b",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 27
  },
  "hsl": {
    "h": 74.4,
    "s": 31.646,
    "l": 15.49
  },
  "oklch": {
    "l": 0.31201,
    "c": 0.04207,
    "h": 119.9
  },
  "luminance": 0.03116
}

Semantic roles & 50–950 ramp

primary
#2E341B
secondary
#4C4268
accent
#60C879
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2E341B

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

Preview Lab → · Contrast checker → · Palette generator →

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