#866D1B#866D1B

#866D1B is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.4% C 0.101 H 90.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#866D1B
RGBrgb(134, 109, 27)
HSLhsl(46, 66%, 32%)
HSVhsv(46, 80%, 53%)
CMYKcmyk(0%, 18.7%, 79.9%, 47.5%)
CIE-LABlab(47.09, 1.24, 46.26)
CIE-LCHlch(47.09, 46.27, 88.47°)
OKLaboklab(54.44% -0.0016 0.1009)
OKLCHoklch(54.44% 0.101 90.9)
XYZxyz(15.4989, 16.0857, 3.3252)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866D1B #1B3486
analogous
#86371B #866D1B #6A861B
triadic
#866D1B #1B866D #6D1B86
tetradic
#866D1B #1B8637 #1B3486 #861B6A
square
#866D1B #1B8637 #1B3486 #861B6A
split-complementary
#866D1B #1B6A86 #371B86
monochromatic
#201A06 #534411 #866D1B #B99625 #D9B642

Accessibility & contrast

On white

4.98
#866D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#866D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866D1B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866D1B#FFFFFF#000000##FFFFFF
##866D1B1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0B
Deuteranopia (green-blind)
#807320
Tritanopia (blue-blind)
#92635D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #866d1b;
/* rgb */ color: rgb(134, 109, 27);
/* oklch */ color: oklch(54.4% 0.101 90.9);
Tailwind
colors: {
  custom: {
    50: '#ad965f',
    500: '#866d1b',
    950: '#000000',
  },
}
SCSS
$custom: #866d1b;
$custom-light: #ad965f;
$custom-dark: #000000;
JSON
{
  "hex": "#866d1b",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 27
  },
  "hsl": {
    "h": 45.981,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54436,
    "c": 0.10094,
    "h": 90.9
  },
  "luminance": 0.16085
}

Semantic roles & 50–950 ramp

primary
#866D1B
secondary
#445FB9
accent
#66E93E
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #866D1B

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

Preview Lab → · Contrast checker → · Palette generator →

#866D1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva