#866F1D#866F1D

#866F1D is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.9% C 0.101 H 92.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#866F1D
RGBrgb(134, 111, 29)
HSLhsl(47, 64%, 32%)
HSVhsv(47, 78%, 53%)
CMYKcmyk(0%, 17.2%, 78.4%, 47.5%)
CIE-LABlab(47.66, 0.18, 46.02)
CIE-LCHlch(47.66, 46.02, 89.78°)
OKLaboklab(54.89% -0.0044 0.1009)
OKLCHoklch(54.89% 0.101 92.5)
XYZxyz(15.7386, 16.5269, 3.5232)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866F1D #1D3486
analogous
#863B1D #866F1D #69861D
triadic
#866F1D #1D866F #6F1D86
tetradic
#866F1D #1D863B #1D3486 #861D69
square
#866F1D #1D863B #1D3486 #861D69
split-complementary
#866F1D #1D6986 #3B1D86
monochromatic
#211C07 #544512 #866F1D #B89928 #D7B746

Accessibility & contrast

On white

4.88
#866F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#866F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866F1D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866F1D#FFFFFF#000000##FFFFFF
##866F1D1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0E
Deuteranopia (green-blind)
#827422
Tritanopia (blue-blind)
#91655F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #866f1d;
/* rgb */ color: rgb(134, 111, 29);
/* oklch */ color: oklch(54.9% 0.101 92.5);
Tailwind
colors: {
  custom: {
    50: '#ad9860',
    500: '#866f1d',
    950: '#000000',
  },
}
SCSS
$custom: #866f1d;
$custom-light: #ad9860;
$custom-dark: #000000;
JSON
{
  "hex": "#866f1d",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 29
  },
  "hsl": {
    "h": 46.857,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54891,
    "c": 0.10097,
    "h": 92.5
  },
  "luminance": 0.16526
}

Semantic roles & 50–950 ramp

primary
#866F1D
secondary
#465FB9
accent
#65E740
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #866F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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