#2E340B#2E340B

#2E340B is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.0% C 0.061 H 117.3°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#2E340B
RGBrgb(46, 52, 11)
HSLhsl(69, 65%, 12%)
HSVhsv(69, 79%, 20%)
CMYKcmyk(11.5%, 0%, 78.8%, 79.6%)
CIE-LABlab(20.29, -9.41, 23.82)
CIE-LCHlch(20.29, 25.61, 111.56°)
OKLaboklab(30.96% -0.0279 0.0542)
OKLCHoklch(30.96% 0.061 117.3)
XYZxyz(2.4152, 3.0610, 0.7801)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E340B #110B34
analogous
#34250B #2E340B #1A340B
triadic
#2E340B #0B2E34 #340B2E
tetradic
#2E340B #0B3425 #110B34 #340B1A
square
#2E340B #0B3425 #110B34 #340B1A
split-complementary
#2E340B #0B1A34 #250B34
monochromatic
#161905 #161905 #2E340B #5B6716 #879920

Accessibility & contrast

On white

13.03
#2E340B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E340B
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E340B#FFFFFF#000000##FFFFFF
##2E340B1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383106
Deuteranopia (green-blind)
#37310E
Tritanopia (blue-blind)
#31312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e340b;
/* rgb */ color: rgb(46, 52, 11);
/* oklch */ color: oklch(31.0% 0.061 117.3);
Tailwind
colors: {
  custom: {
    50: '#686b4d',
    500: '#2e340b',
    950: '#000000',
  },
}
SCSS
$custom: #2e340b;
$custom-light: #686b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e340b",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 68.78,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30958,
    "c": 0.06093,
    "h": 117.3
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

primary
#2E340B
secondary
#342A71
accent
#40E858
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E340B

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

Preview Lab → · Contrast checker → · Palette generator →

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