#2E3112#2E3112

#2E3112 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.049 H 113.9°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#2E3112
RGBrgb(46, 49, 18)
HSLhsl(66, 46%, 13%)
HSVhsv(66, 63%, 19%)
CMYKcmyk(6.1%, 0%, 63.3%, 80.8%)
CIE-LABlab(19.31, -6.87, 19.09)
CIE-LCHlch(19.31, 20.29, 109.81°)
OKLaboklab(30.2% -0.0199 0.0448)
OKLCHoklch(30.2% 0.049 113.9)
XYZxyz(2.3343, 2.8212, 0.9937)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3112 #151231
analogous
#312412 #2E3112 #1E3112
triadic
#2E3112 #122E31 #31122E
tetradic
#2E3112 #123124 #151231 #31121E
square
#2E3112 #123124 #151231 #31121E
split-complementary
#2E3112 #121E31 #241231
monochromatic
#151608 #151608 #2E3112 #585E22 #828B33

Accessibility & contrast

On white

13.43
#2E3112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2E3112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3112
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3112#FFFFFF#000000##FFFFFF
##2E31121.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F0F
Deuteranopia (green-blind)
#352F14
Tritanopia (blue-blind)
#312E2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e3112;
/* rgb */ color: rgb(46, 49, 18);
/* oklch */ color: oklch(30.2% 0.049 113.9);
Tailwind
colors: {
  custom: {
    50: '#686951',
    500: '#2e3112',
    950: '#000000',
  },
}
SCSS
$custom: #2e3112;
$custom-light: #686951;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3112",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 18
  },
  "hsl": {
    "h": 65.806,
    "s": 46.269,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30204,
    "c": 0.04904,
    "h": 113.9
  },
  "luminance": 0.02821
}

Semantic roles & 50–950 ramp

primary
#2E3112
secondary
#3B3669
accent
#52D65F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2E3112

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

Preview Lab → · Contrast checker → · Palette generator →

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