#2B2811#2B2811

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

Color values

HEX#2B2811
RGBrgb(43, 40, 17)
HSLhsl(53, 43%, 12%)
HSVhsv(53, 60%, 17%)
CMYKcmyk(0%, 7%, 60.5%, 83.1%)
CIE-LABlab(15.86, -2.67, 15.44)
CIE-LCHlch(15.86, 15.67, 99.83°)
OKLaboklab(27.37% -0.0078 0.037)
OKLCHoklch(27.37% 0.038 101.9)
XYZxyz(1.8563, 2.0717, 0.8323)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2811 #11142B
analogous
#2B1B11 #2B2811 #212B11
triadic
#2B2811 #112B28 #28112B
tetradic
#2B2811 #112B1B #11142B #2B1121
square
#2B2811 #112B1B #11142B #2B1121
split-complementary
#2B2811 #11212B #1B112B
monochromatic
#161409 #161409 #2B2811 #575122 #837A34

Accessibility & contrast

On white

14.85
#2B2811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2B2811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2811
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2811#FFFFFF#000000##FFFFFF
##2B28111.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C270F
Deuteranopia (green-blind)
#2D2812
Tritanopia (blue-blind)
#2E2523
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b2811;
/* rgb */ color: rgb(43, 40, 17);
/* oklch */ color: oklch(27.4% 0.038 101.9);
Tailwind
colors: {
  custom: {
    50: '#65614f',
    500: '#2b2811',
    950: '#000000',
  },
}
SCSS
$custom: #2b2811;
$custom-light: #65614f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2811",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 17
  },
  "hsl": {
    "h": 53.077,
    "s": 43.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27372,
    "c": 0.03781,
    "h": 101.9
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

primary
#2B2811
secondary
#353A63
accent
#63D355
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050502
muted
#7A7978

Preview Lab

Preview with #2B2811

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

Preview Lab → · Contrast checker → · Palette generator →

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