#866D1F#866D1F

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

Color values

HEX#866D1F
RGBrgb(134, 109, 31)
HSLhsl(45, 62%, 32%)
HSVhsv(45, 77%, 53%)
CMYKcmyk(0%, 18.7%, 76.9%, 47.5%)
CIE-LABlab(47.11, 1.42, 44.71)
CIE-LCHlch(47.11, 44.73, 88.18°)
OKLaboklab(54.47% -0.0006 0.0985)
OKLCHoklch(54.47% 0.099 90.4)
XYZxyz(15.5484, 16.1055, 3.5858)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866D1F #1F3886
analogous
#863A1F #866D1F #6B861F
triadic
#866D1F #1F866D #6D1F86
tetradic
#866D1F #1F863A #1F3886 #861F6B
square
#866D1F #1F863A #1F3886 #861F6B
split-complementary
#866D1F #1F6B86 #3A1F86
monochromatic
#231C08 #544514 #866D1F #B8952A #D5B34A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##866D1F#FFFFFF#000000##FFFFFF
##866D1F1.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)
#7A6C12
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#91635E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #866d1f;
/* rgb */ color: rgb(134, 109, 31);
/* oklch */ color: oklch(54.5% 0.099 90.4);
Tailwind
colors: {
  custom: {
    50: '#ad9661',
    500: '#866d1f',
    950: '#000000',
  },
}
SCSS
$custom: #866d1f;
$custom-light: #ad9661;
$custom-dark: #000000;
JSON
{
  "hex": "#866d1f",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 45.437,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54465,
    "c": 0.0985,
    "h": 90.4
  },
  "luminance": 0.16105
}

Semantic roles & 50–950 ramp

primary
#866D1F
secondary
#4964B8
accent
#6AE542
background
#FBF9F5
surface
#F6F1EA
border
#D0CBC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #866D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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