#2E340F#2E340F

#2E340F is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.0% C 0.057 H 117.6°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2E340F
RGBrgb(46, 52, 15)
HSLhsl(70, 55%, 13%)
HSVhsv(70, 71%, 20%)
CMYKcmyk(11.5%, 0%, 71.2%, 79.6%)
CIE-LABlab(20.33, -9.06, 21.94)
CIE-LCHlch(20.33, 23.74, 112.44°)
OKLaboklab(31% -0.0264 0.0505)
OKLCHoklch(31% 0.057 117.6)
XYZxyz(2.4410, 3.0713, 0.9161)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E340F #150F34
analogous
#34270F #2E340F #1B340F
triadic
#2E340F #0F2E34 #340F2E
tetradic
#2E340F #0F3427 #150F34 #340F1B
square
#2E340F #0F3427 #150F34 #340F1B
split-complementary
#2E340F #0F1B34 #270F34
monochromatic
#151807 #151807 #2E340F #58631D #82932A

Accessibility & contrast

On white

13.01
#2E340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E340F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E340F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E340F#FFFFFF#000000##FFFFFF
##2E340F1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e340f;
/* rgb */ color: rgb(46, 52, 15);
/* oklch */ color: oklch(31.0% 0.057 117.6);
Tailwind
colors: {
  custom: {
    50: '#686b4f',
    500: '#2e340f',
    950: '#000000',
  },
}
SCSS
$custom: #2e340f;
$custom-light: #686b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e340f",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 69.73,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31004,
    "c": 0.05703,
    "h": 117.6
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#2E340F
secondary
#3B316E
accent
#49DF61
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2E340F

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

Preview Lab → · Contrast checker → · Palette generator →

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