#866F1B#866F1B

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

Color values

HEX#866F1B
RGBrgb(134, 111, 27)
HSLhsl(47, 66%, 32%)
HSVhsv(47, 80%, 53%)
CMYKcmyk(0%, 17.2%, 79.9%, 47.5%)
CIE-LABlab(47.65, 0.09, 46.77)
CIE-LCHlch(47.65, 46.77, 89.89°)
OKLaboklab(54.88% -0.0048 0.102)
OKLCHoklch(54.88% 0.102 92.7)
XYZxyz(15.7147, 16.5173, 3.3971)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866F1B #1B3286
analogous
#863A1B #866F1B #68861B
triadic
#866F1B #1B866F #6F1B86
tetradic
#866F1B #1B863A #1B3286 #861B68
square
#866F1B #1B863A #1B3286 #861B68
split-complementary
#866F1B #1B6886 #3A1B86
monochromatic
#201B06 #534511 #866F1B #B99925 #D9B942

Accessibility & contrast

On white

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

On black

4.30
#866F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##866F1B#FFFFFF#000000##FFFFFF
##866F1B1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #866f1b;
/* rgb */ color: rgb(134, 111, 27);
/* oklch */ color: oklch(54.9% 0.102 92.7);
Tailwind
colors: {
  custom: {
    50: '#ad985f',
    500: '#866f1b',
    950: '#000000',
  },
}
SCSS
$custom: #866f1b;
$custom-light: #ad985f;
$custom-dark: #000000;
JSON
{
  "hex": "#866f1b",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 47.103,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54877,
    "c": 0.10215,
    "h": 92.7
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#866F1B
secondary
#445DB9
accent
#63E93E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #866F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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