#2E340D#2E340D

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

Color values

HEX#2E340D
RGBrgb(46, 52, 13)
HSLhsl(69, 60%, 13%)
HSVhsv(69, 75%, 20%)
CMYKcmyk(11.5%, 0%, 75%, 79.6%)
CIE-LABlab(20.31, -9.25, 22.93)
CIE-LCHlch(20.31, 24.72, 111.96°)
OKLaboklab(30.98% -0.0272 0.0524)
OKLCHoklch(30.98% 0.059 117.4)
XYZxyz(2.4274, 3.0659, 0.8446)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E340D #130D34
analogous
#34260D #2E340D #1A340D
triadic
#2E340D #0D2E34 #340D2E
tetradic
#2E340D #0D3426 #130D34 #340D1A
square
#2E340D #0D3426 #130D34 #340D1A
split-complementary
#2E340D #0D1A34 #260D34
monochromatic
#161806 #161806 #2E340D #596519 #859625

Accessibility & contrast

On white

13.02
#2E340D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E340D
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E340D#FFFFFF#000000##FFFFFF
##2E340D1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383108
Deuteranopia (green-blind)
#373110
Tritanopia (blue-blind)
#31312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e340d;
/* rgb */ color: rgb(46, 52, 13);
/* oklch */ color: oklch(31.0% 0.059 117.4);
Tailwind
colors: {
  custom: {
    50: '#686b4e',
    500: '#2e340d',
    950: '#000000',
  },
}
SCSS
$custom: #2e340d;
$custom-light: #686b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e340d",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 13
  },
  "hsl": {
    "h": 69.231,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.3098,
    "c": 0.05906,
    "h": 117.4
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#2E340D
secondary
#382D6F
accent
#45E35D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E340D

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

Preview Lab → · Contrast checker → · Palette generator →

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