#866C17#866C17

#866C17 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.2% C 0.103 H 90.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#866C17
RGBrgb(134, 108, 23)
HSLhsl(46, 71%, 31%)
HSVhsv(46, 83%, 53%)
CMYKcmyk(0%, 19.4%, 82.8%, 47.5%)
CIE-LABlab(46.79, 1.66, 47.43)
CIE-LCHlch(46.79, 47.46, 88.00°)
OKLaboklab(54.19% -0.0008 0.1025)
OKLCHoklch(54.19% 0.103 90.4)
XYZxyz(15.3497, 15.8563, 3.0625)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866C17 #173186
analogous
#863417 #866C17 #688617
triadic
#866C17 #17866C #6C1786
tetradic
#866C17 #178634 #173186 #861768
square
#866C17 #178634 #173186 #861768
split-complementary
#866C17 #176886 #341786
monochromatic
#1E1805 #52420E #866C17 #BA9620 #DDB73A

Accessibility & contrast

On white

5.03
#866C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#866C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866C17
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866C17#FFFFFF#000000##FFFFFF
##866C171.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B03
Deuteranopia (green-blind)
#80721C
Tritanopia (blue-blind)
#92625C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #866c17;
/* rgb */ color: rgb(134, 108, 23);
/* oklch */ color: oklch(54.2% 0.103 90.4);
Tailwind
colors: {
  custom: {
    50: '#ad955c',
    500: '#866c17',
    950: '#000000',
  },
}
SCSS
$custom: #866c17;
$custom-light: #ad955c;
$custom-dark: #000000;
JSON
{
  "hex": "#866c17",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 45.946,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54191,
    "c": 0.10254,
    "h": 90.4
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#866C17
secondary
#3F5CBA
accent
#64ED3A
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #866C17

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

Preview Lab → · Contrast checker → · Palette generator →

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