#866D1A#866D1A

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

Color values

HEX#866D1A
RGBrgb(134, 109, 26)
HSLhsl(46, 68%, 31%)
HSVhsv(46, 81%, 53%)
CMYKcmyk(0%, 18.7%, 80.6%, 47.5%)
CIE-LABlab(47.08, 1.20, 46.62)
CIE-LCHlch(47.08, 46.64, 88.53°)
OKLaboklab(54.43% -0.0018 0.1015)
OKLCHoklch(54.43% 0.102 91)
XYZxyz(15.4875, 16.0812, 3.2653)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866D1A #1A3386
analogous
#86371A #866D1A #69861A
triadic
#866D1A #1A866D #6D1A86
tetradic
#866D1A #1A8637 #1A3386 #861A69
square
#866D1A #1A8637 #1A3386 #861A69
split-complementary
#866D1A #1A6986 #371A86
monochromatic
#1F1A06 #534310 #866D1A #B99724 #DAB640

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##866D1A#FFFFFF#000000##FFFFFF
##866D1A1.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)
#7A6C09
Deuteranopia (green-blind)
#80731F
Tritanopia (blue-blind)
#92635D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #866d1a;
/* rgb */ color: rgb(134, 109, 26);
/* oklch */ color: oklch(54.4% 0.102 91.0);
Tailwind
colors: {
  custom: {
    50: '#ad965e',
    500: '#866d1a',
    950: '#000000',
  },
}
SCSS
$custom: #866d1a;
$custom-light: #ad965e;
$custom-dark: #000000;
JSON
{
  "hex": "#866d1a",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 26
  },
  "hsl": {
    "h": 46.111,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54429,
    "c": 0.10151,
    "h": 91
  },
  "luminance": 0.1608
}

Semantic roles & 50–950 ramp

primary
#866D1A
secondary
#425EB9
accent
#65EA3D
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #866D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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