#866B18#866B18

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

Color values

HEX#866B18
RGBrgb(134, 107, 24)
HSLhsl(45, 70%, 31%)
HSVhsv(45, 82%, 53%)
CMYKcmyk(0%, 20.1%, 82.1%, 47.5%)
CIE-LABlab(46.51, 2.27, 46.83)
CIE-LCHlch(46.51, 46.89, 87.22°)
OKLaboklab(53.98% 0.0011 0.1015)
OKLCHoklch(53.98% 0.102 89.4)
XYZxyz(15.2550, 15.6507, 3.0814)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866B18 #183386
analogous
#863418 #866B18 #6A8618
triadic
#866B18 #18866B #6B1886
tetradic
#866B18 #188634 #183386 #86186A
square
#866B18 #188634 #183386 #86186A
split-complementary
#866B18 #186A86 #341886
monochromatic
#1E1805 #52420F #866B18 #BA9421 #DCB53C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##866B18#FFFFFF#000000##FFFFFF
##866B181.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)
#786A05
Deuteranopia (green-blind)
#7F711D
Tritanopia (blue-blind)
#92615B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #866b18;
/* rgb */ color: rgb(134, 107, 24);
/* oklch */ color: oklch(54.0% 0.102 89.4);
Tailwind
colors: {
  custom: {
    50: '#ad955d',
    500: '#866b18',
    950: '#000000',
  },
}
SCSS
$custom: #866b18;
$custom-light: #ad955d;
$custom-dark: #000000;
JSON
{
  "hex": "#866b18",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 45.273,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53978,
    "c": 0.1015,
    "h": 89.4
  },
  "luminance": 0.1565
}

Semantic roles & 50–950 ramp

primary
#866B18
secondary
#405EBA
accent
#67EC3B
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #866B18

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

Preview Lab → · Contrast checker → · Palette generator →

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