#866B1A#866B1A

#866B1A is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 54.0% C 0.100 H 89.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#866B1A
RGBrgb(134, 107, 26)
HSLhsl(45, 68%, 31%)
HSVhsv(45, 81%, 53%)
CMYKcmyk(0%, 20.1%, 80.6%, 47.5%)
CIE-LABlab(46.52, 2.35, 46.11)
CIE-LCHlch(46.52, 46.17, 87.08°)
OKLaboklab(53.99% 0.0015 0.1004)
OKLCHoklch(53.99% 0.1 89.1)
XYZxyz(15.2766, 15.6593, 3.1950)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866B1A #1A3586
analogous
#86351A #866B1A #6B861A
triadic
#866B1A #1A866B #6B1A86
tetradic
#866B1A #1A8635 #1A3586 #861A6B
square
#866B1A #1A8635 #1A3586 #861A6B
split-complementary
#866B1A #1A6B86 #351A86
monochromatic
#1F1906 #534210 #866B1A #B99424 #DAB440

Accessibility & contrast

On white

5.08
#866B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#866B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866B1A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866B1A#FFFFFF#000000##FFFFFF
##866B1A1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A09
Deuteranopia (green-blind)
#7F711F
Tritanopia (blue-blind)
#92615C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #866b1a;
/* rgb */ color: rgb(134, 107, 26);
/* oklch */ color: oklch(54.0% 0.100 89.1);
Tailwind
colors: {
  custom: {
    50: '#ad955e',
    500: '#866b1a',
    950: '#000000',
  },
}
SCSS
$custom: #866b1a;
$custom-light: #ad955e;
$custom-dark: #000000;
JSON
{
  "hex": "#866b1a",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 26
  },
  "hsl": {
    "h": 45,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53991,
    "c": 0.1004,
    "h": 89.1
  },
  "luminance": 0.15658
}

Semantic roles & 50–950 ramp

primary
#866B1A
secondary
#4260B9
accent
#69EA3D
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #866B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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