#2E3312#2E3312

#2E3312 is a dark, muted yellow. Relative luminance 0.030; OKLCH L 30.8% C 0.052 H 116.7°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#2E3312
RGBrgb(46, 51, 18)
HSLhsl(69, 48%, 14%)
HSVhsv(69, 65%, 20%)
CMYKcmyk(9.8%, 0%, 64.7%, 80%)
CIE-LABlab(20.01, -8.14, 19.90)
CIE-LCHlch(20.01, 21.50, 112.24°)
OKLaboklab(30.76% -0.0235 0.0466)
OKLCHoklch(30.76% 0.052 116.7)
XYZxyz(2.4198, 2.9922, 1.0222)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3312 #171233
analogous
#332712 #2E3312 #1D3312
triadic
#2E3312 #122E33 #33122E
tetradic
#2E3312 #123327 #171233 #33121D
square
#2E3312 #123327 #171233 #33121D
split-complementary
#2E3312 #121D33 #271233
monochromatic
#141708 #141708 #2E3312 #576022 #808D32

Accessibility & contrast

On white

13.14
#2E3312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2E3312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3312
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3312#FFFFFF#000000##FFFFFF
##2E33121.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300F
Deuteranopia (green-blind)
#363114
Tritanopia (blue-blind)
#31302C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e3312;
/* rgb */ color: rgb(46, 51, 18);
/* oklch */ color: oklch(30.8% 0.052 116.7);
Tailwind
colors: {
  custom: {
    50: '#686a51',
    500: '#2e3312',
    950: '#000000',
  },
}
SCSS
$custom: #2e3312;
$custom-light: #686a51;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3312",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 18
  },
  "hsl": {
    "h": 69.091,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30764,
    "c": 0.05215,
    "h": 116.7
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#2E3312
secondary
#3E356B
accent
#50D765
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2E3312

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

Preview Lab → · Contrast checker → · Palette generator →

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