#866D18#866D18

#866D18 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.4% C 0.103 H 91.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#866D18
RGBrgb(134, 109, 24)
HSLhsl(46, 70%, 31%)
HSVhsv(46, 82%, 53%)
CMYKcmyk(0%, 18.7%, 82.1%, 47.5%)
CIE-LABlab(47.07, 1.12, 47.33)
CIE-LCHlch(47.07, 47.35, 88.65°)
OKLaboklab(54.42% -0.0022 0.1026)
OKLCHoklch(54.42% 0.103 91.2)
XYZxyz(15.4659, 16.0725, 3.1517)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866D18 #183186
analogous
#863618 #866D18 #688618
triadic
#866D18 #18866D #6D1886
tetradic
#866D18 #188636 #183186 #861868
square
#866D18 #188636 #183186 #861868
split-complementary
#866D18 #186886 #361886
monochromatic
#1E1905 #52430F #866D18 #BA9721 #DCB83C

Accessibility & contrast

On white

4.98
#866D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#866D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866D18
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866D18#FFFFFF#000000##FFFFFF
##866D181.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B04
Deuteranopia (green-blind)
#80731D
Tritanopia (blue-blind)
#92635D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #866d18;
/* rgb */ color: rgb(134, 109, 24);
/* oklch */ color: oklch(54.4% 0.103 91.2);
Tailwind
colors: {
  custom: {
    50: '#ad965d',
    500: '#866d18',
    950: '#000000',
  },
}
SCSS
$custom: #866d18;
$custom-light: #ad965d;
$custom-dark: #000000;
JSON
{
  "hex": "#866d18",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 46.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.10258,
    "h": 91.2
  },
  "luminance": 0.16072
}

Semantic roles & 50–950 ramp

primary
#866D18
secondary
#405CBA
accent
#64EC3B
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #866D18

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

Preview Lab → · Contrast checker → · Palette generator →

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