#866C18#866C18

#866C18 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.2% C 0.102 H 90.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#866C18
RGBrgb(134, 108, 24)
HSLhsl(46, 70%, 31%)
HSVhsv(46, 82%, 53%)
CMYKcmyk(0%, 19.4%, 82.1%, 47.5%)
CIE-LABlab(46.79, 1.70, 47.08)
CIE-LCHlch(46.79, 47.11, 87.94°)
OKLaboklab(54.2% -0.0006 0.102)
OKLCHoklch(54.2% 0.102 90.3)
XYZxyz(15.3599, 15.8604, 3.1163)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866C18 #183286
analogous
#863518 #866C18 #698618
triadic
#866C18 #18866C #6C1886
tetradic
#866C18 #188635 #183286 #861869
square
#866C18 #188635 #183286 #861869
split-complementary
#866C18 #186986 #351886
monochromatic
#1E1805 #52420F #866C18 #BA9621 #DCB63C

Accessibility & contrast

On white

5.03
#866C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#866C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866C18
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866C18#FFFFFF#000000##FFFFFF
##866C181.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B05
Deuteranopia (green-blind)
#80721D
Tritanopia (blue-blind)
#92625C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #866c18;
/* rgb */ color: rgb(134, 108, 24);
/* oklch */ color: oklch(54.2% 0.102 90.3);
Tailwind
colors: {
  custom: {
    50: '#ad955d',
    500: '#866c18',
    950: '#000000',
  },
}
SCSS
$custom: #866c18;
$custom-light: #ad955d;
$custom-dark: #000000;
JSON
{
  "hex": "#866c18",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 45.818,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54197,
    "c": 0.10203,
    "h": 90.3
  },
  "luminance": 0.15859
}

Semantic roles & 50–950 ramp

primary
#866C18
secondary
#405DBA
accent
#65EC3B
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #866C18

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

Preview Lab → · Contrast checker → · Palette generator →

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