#866D1C#866D1C

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

Color values

HEX#866D1C
RGBrgb(134, 109, 28)
HSLhsl(46, 65%, 32%)
HSVhsv(46, 79%, 53%)
CMYKcmyk(0%, 18.7%, 79.1%, 47.5%)
CIE-LABlab(47.09, 1.28, 45.88)
CIE-LCHlch(47.09, 45.90, 88.40°)
OKLaboklab(54.44% -0.0013 0.1004)
OKLCHoklch(54.44% 0.1 90.8)
XYZxyz(15.5107, 16.0904, 3.3872)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866D1C #1C3586
analogous
#86381C #866D1C #6A861C
triadic
#866D1C #1C866D #6D1C86
tetradic
#866D1C #1C8638 #1C3586 #861C6A
square
#866D1C #1C8638 #1C3586 #861C6A
split-complementary
#866D1C #1C6A86 #381C86
monochromatic
#211B07 #534411 #866D1C #B99627 #D8B544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##866D1C#FFFFFF#000000##FFFFFF
##866D1C1.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)
#7A6C0D
Deuteranopia (green-blind)
#807321
Tritanopia (blue-blind)
#92635D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #866d1c;
/* rgb */ color: rgb(134, 109, 28);
/* oklch */ color: oklch(54.4% 0.100 90.8);
Tailwind
colors: {
  custom: {
    50: '#ad965f',
    500: '#866d1c',
    950: '#000000',
  },
}
SCSS
$custom: #866d1c;
$custom-light: #ad965f;
$custom-dark: #000000;
JSON
{
  "hex": "#866d1c",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 28
  },
  "hsl": {
    "h": 45.849,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54443,
    "c": 0.10036,
    "h": 90.8
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

primary
#866D1C
secondary
#4560B9
accent
#67E83F
background
#FBF9F5
surface
#F6F1EA
border
#D0CBC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #866D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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