#866E1B#866E1B

#866E1B is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.7% C 0.102 H 91.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#866E1B
RGBrgb(134, 110, 27)
HSLhsl(47, 66%, 32%)
HSVhsv(47, 80%, 53%)
CMYKcmyk(0%, 17.9%, 79.9%, 47.5%)
CIE-LABlab(47.37, 0.66, 46.51)
CIE-LCHlch(47.37, 46.52, 89.18°)
OKLaboklab(54.66% -0.0032 0.1015)
OKLCHoklch(54.66% 0.102 91.8)
XYZxyz(15.6062, 16.3003, 3.3610)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866E1B #1B3386
analogous
#86391B #866E1B #69861B
triadic
#866E1B #1B866E #6E1B86
tetradic
#866E1B #1B8639 #1B3386 #861B69
square
#866E1B #1B8639 #1B3386 #861B69
split-complementary
#866E1B #1B6986 #391B86
monochromatic
#201A06 #534411 #866E1B #B99825 #D9B742

Accessibility & contrast

On white

4.93
#866E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#866E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866E1B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866E1B#FFFFFF#000000##FFFFFF
##866E1B1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0A
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#92645E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #866e1b;
/* rgb */ color: rgb(134, 110, 27);
/* oklch */ color: oklch(54.7% 0.102 91.8);
Tailwind
colors: {
  custom: {
    50: '#ad975f',
    500: '#866e1b',
    950: '#000000',
  },
}
SCSS
$custom: #866e1b;
$custom-light: #ad975f;
$custom-dark: #000000;
JSON
{
  "hex": "#866e1b",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 46.542,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54656,
    "c": 0.10153,
    "h": 91.8
  },
  "luminance": 0.16299
}

Semantic roles & 50–950 ramp

primary
#866E1B
secondary
#445EB9
accent
#65E93E
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #866E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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