#866A16#866A16

#866A16 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.7% C 0.102 H 88.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#866A16
RGBrgb(134, 106, 22)
HSLhsl(45, 72%, 31%)
HSVhsv(45, 84%, 53%)
CMYKcmyk(0%, 20.9%, 83.6%, 47.5%)
CIE-LABlab(46.22, 2.78, 47.27)
CIE-LCHlch(46.22, 47.36, 86.64°)
OKLaboklab(53.75% 0.0023 0.102)
OKLCHoklch(53.75% 0.102 88.7)
XYZxyz(15.1313, 15.4354, 2.9413)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866A16 #163286
analogous
#863216 #866A16 #6A8616
triadic
#866A16 #16866A #6A1686
tetradic
#866A16 #168632 #163286 #86166A
square
#866A16 #168632 #163286 #86166A
split-complementary
#866A16 #166A86 #321686
monochromatic
#1D1705 #51400D #866A16 #BB941F #DEB538

Accessibility & contrast

On white

5.14
#866A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#866A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866A16
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866A16#FFFFFF#000000##FFFFFF
##866A161.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786902
Deuteranopia (green-blind)
#7E711B
Tritanopia (blue-blind)
#92605A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #866a16;
/* rgb */ color: rgb(134, 106, 22);
/* oklch */ color: oklch(53.7% 0.102 88.7);
Tailwind
colors: {
  custom: {
    50: '#ad945c',
    500: '#866a16',
    950: '#000000',
  },
}
SCSS
$custom: #866a16;
$custom-light: #ad945c;
$custom-dark: #000000;
JSON
{
  "hex": "#866a16",
  "rgb": {
    "r": 134,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 45,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53748,
    "c": 0.10201,
    "h": 88.7
  },
  "luminance": 0.15434
}

Semantic roles & 50–950 ramp

primary
#866A16
secondary
#3E5DBA
accent
#67EF39
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #866A16

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

Preview Lab → · Contrast checker → · Palette generator →

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