#2D2811#2D2811

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

Color values

HEX#2D2811
RGBrgb(45, 40, 17)
HSLhsl(49, 45%, 12%)
HSVhsv(49, 62%, 18%)
CMYKcmyk(0%, 11.1%, 62.2%, 82.4%)
CIE-LABlab(16.08, -1.60, 15.77)
CIE-LCHlch(16.08, 15.85, 95.79°)
OKLaboklab(27.61% -0.0049 0.0377)
OKLCHoklch(27.61% 0.038 97.4)
XYZxyz(1.9422, 2.1160, 0.8363)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2811 #11162D
analogous
#2D1A11 #2D2811 #242D11
triadic
#2D2811 #112D28 #28112D
tetradic
#2D2811 #112D1A #11162D #2D1124
square
#2D2811 #112D1A #11162D #2D1124
split-complementary
#2D2811 #11242D #1A112D
monochromatic
#161408 #161408 #2D2811 #594F22 #867733

Accessibility & contrast

On white

14.76
#2D2811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2D2811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2811
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2811#FFFFFF#000000##FFFFFF
##2D28111.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2811;
/* rgb */ color: rgb(45, 40, 17);
/* oklch */ color: oklch(27.6% 0.038 97.4);
Tailwind
colors: {
  custom: {
    50: '#67614f',
    500: '#2d2811',
    950: '#000000',
  },
}
SCSS
$custom: #2d2811;
$custom-light: #67614f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2811",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 17
  },
  "hsl": {
    "h": 49.286,
    "s": 45.161,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27605,
    "c": 0.03798,
    "h": 97.4
  },
  "luminance": 0.02116
}

Semantic roles & 50–950 ramp

primary
#2D2811
secondary
#353D65
accent
#6AD553
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #2D2811

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

Preview Lab → · Contrast checker → · Palette generator →

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