#866D17#866D17

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

Color values

HEX#866D17
RGBrgb(134, 109, 23)
HSLhsl(46, 71%, 31%)
HSVhsv(46, 83%, 53%)
CMYKcmyk(0%, 18.7%, 82.8%, 47.5%)
CIE-LABlab(47.06, 1.08, 47.67)
CIE-LCHlch(47.06, 47.69, 88.70°)
OKLaboklab(54.41% -0.0024 0.1031)
OKLCHoklch(54.41% 0.103 91.4)
XYZxyz(15.4557, 16.0685, 3.0979)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866D17 #173086
analogous
#863517 #866D17 #678617
triadic
#866D17 #17866D #6D1786
tetradic
#866D17 #178635 #173086 #861767
square
#866D17 #178635 #173086 #861767
split-complementary
#866D17 #176786 #351786
monochromatic
#1E1805 #52430E #866D17 #BA9720 #DDB83A

Accessibility & contrast

On white

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

On black

4.21
#866D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##866D17#FFFFFF#000000##FFFFFF
##866D171.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #866d17;
/* rgb */ color: rgb(134, 109, 23);
/* oklch */ color: oklch(54.4% 0.103 91.4);
Tailwind
colors: {
  custom: {
    50: '#ad965d',
    500: '#866d17',
    950: '#000000',
  },
}
SCSS
$custom: #866d17;
$custom-light: #ad965d;
$custom-dark: #000000;
JSON
{
  "hex": "#866d17",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 46.486,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54411,
    "c": 0.10311,
    "h": 91.4
  },
  "luminance": 0.16067
}

Semantic roles & 50–950 ramp

primary
#866D17
secondary
#3F5BBA
accent
#63ED3A
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #866D17

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

Preview Lab → · Contrast checker → · Palette generator →

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