#2E341F#2E341F

#2E341F is a dark, muted yellow-green. Relative luminance 0.031; OKLCH L 31.3% C 0.036 H 121.5°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#2E341F
RGBrgb(46, 52, 31)
HSLhsl(77, 25%, 16%)
HSVhsv(77, 40%, 20%)
CMYKcmyk(11.5%, 0%, 40.4%, 79.6%)
CIE-LABlab(20.58, -6.98, 12.46)
CIE-LCHlch(20.58, 14.28, 119.25°)
OKLaboklab(31.29% -0.0189 0.0309)
OKLCHoklch(31.29% 0.036 121.5)
XYZxyz(2.6020, 3.1358, 1.7642)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E341F #251F34
analogous
#34301F #2E341F #24341F
triadic
#2E341F #1F2E34 #341F2E
tetradic
#2E341F #1F3430 #251F34 #341F24
square
#2E341F #1F3430 #251F34 #341F24
split-complementary
#2E341F #1F2434 #301F34
monochromatic
#11130B #11130B #2E341F #505A36 #72814D

Accessibility & contrast

On white

12.91
#2E341F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2E341F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E341F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E341F#FFFFFF#000000##FFFFFF
##2E341F1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36321E
Deuteranopia (green-blind)
#363220
Tritanopia (blue-blind)
#30322F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e341f;
/* rgb */ color: rgb(46, 52, 31);
/* oklch */ color: oklch(31.3% 0.036 121.5);
Tailwind
colors: {
  custom: {
    50: '#676b5a',
    500: '#2e341f',
    950: '#000000',
  },
}
SCSS
$custom: #2e341f;
$custom-light: #676b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e341f",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 31
  },
  "hsl": {
    "h": 77.143,
    "s": 25.301,
    "l": 16.275
  },
  "oklch": {
    "l": 0.31288,
    "c": 0.03625,
    "h": 121.5
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#2E341F
secondary
#514867
accent
#66C280
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060604
muted
#7A7A79

Preview Lab

Preview with #2E341F

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

Preview Lab → · Contrast checker → · Palette generator →

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