#2E2811#2E2811

#2E2811 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.7% C 0.038 H 95.1°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#2E2811
RGBrgb(46, 40, 17)
HSLhsl(48, 46%, 12%)
HSVhsv(48, 63%, 18%)
CMYKcmyk(0%, 13%, 63%, 82%)
CIE-LABlab(16.20, -1.06, 15.94)
CIE-LCHlch(16.20, 15.98, 93.81°)
OKLaboklab(27.72% -0.0034 0.038)
OKLCHoklch(27.72% 0.038 95.1)
XYZxyz(1.9868, 2.1390, 0.8384)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2811 #11172E
analogous
#2E1911 #2E2811 #262E11
triadic
#2E2811 #112E28 #28112E
tetradic
#2E2811 #112E19 #11172E #2E1126
square
#2E2811 #112E19 #11172E #2E1126
split-complementary
#2E2811 #11262E #19112E
monochromatic
#161308 #161308 #2E2811 #5B4F22 #877632

Accessibility & contrast

On white

14.71
#2E2811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2E2811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2811
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2811#FFFFFF#000000##FFFFFF
##2E28111.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C270F
Deuteranopia (green-blind)
#2E2912
Tritanopia (blue-blind)
#322523
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e2811;
/* rgb */ color: rgb(46, 40, 17);
/* oklch */ color: oklch(27.7% 0.038 95.1);
Tailwind
colors: {
  custom: {
    50: '#68614f',
    500: '#2e2811',
    950: '#000000',
  },
}
SCSS
$custom: #2e2811;
$custom-light: #68614f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2811",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 17
  },
  "hsl": {
    "h": 47.586,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.27724,
    "c": 0.03817,
    "h": 95.1
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#2E2811
secondary
#343F66
accent
#6DD652
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #2E2811

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

Preview Lab → · Contrast checker → · Palette generator →

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