#866B17#866B17

#866B17 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 54.0% C 0.102 H 89.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#866B17
RGBrgb(134, 107, 23)
HSLhsl(45, 71%, 31%)
HSVhsv(45, 83%, 53%)
CMYKcmyk(0%, 20.1%, 82.8%, 47.5%)
CIE-LABlab(46.51, 2.23, 47.18)
CIE-LCHlch(46.51, 47.23, 87.29°)
OKLaboklab(53.97% 0.0009 0.102)
OKLCHoklch(53.97% 0.102 89.5)
XYZxyz(15.2448, 15.6466, 3.0276)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866B17 #173286
analogous
#863317 #866B17 #698617
triadic
#866B17 #17866B #6B1786
tetradic
#866B17 #178633 #173286 #861769
square
#866B17 #178633 #173286 #861769
split-complementary
#866B17 #176986 #331786
monochromatic
#1E1805 #52410E #866B17 #BA9520 #DDB63A

Accessibility & contrast

On white

5.09
#866B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#866B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866B17
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866B17#FFFFFF#000000##FFFFFF
##866B171.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A03
Deuteranopia (green-blind)
#7F711C
Tritanopia (blue-blind)
#92615B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #866b17;
/* rgb */ color: rgb(134, 107, 23);
/* oklch */ color: oklch(54.0% 0.102 89.5);
Tailwind
colors: {
  custom: {
    50: '#ad955c',
    500: '#866b17',
    950: '#000000',
  },
}
SCSS
$custom: #866b17;
$custom-light: #ad955c;
$custom-dark: #000000;
JSON
{
  "hex": "#866b17",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 45.405,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53972,
    "c": 0.10201,
    "h": 89.5
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#866B17
secondary
#3F5DBA
accent
#66ED3A
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #866B17

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

Preview Lab → · Contrast checker → · Palette generator →

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