#866E17#866E17

#866E17 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.6% C 0.104 H 92.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#866E17
RGBrgb(134, 110, 23)
HSLhsl(47, 71%, 31%)
HSVhsv(47, 83%, 53%)
CMYKcmyk(0%, 17.9%, 82.8%, 47.5%)
CIE-LABlab(47.34, 0.51, 47.92)
CIE-LCHlch(47.34, 47.92, 89.39°)
OKLaboklab(54.63% -0.0041 0.1036)
OKLCHoklch(54.63% 0.104 92.2)
XYZxyz(15.5630, 16.2830, 3.1337)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866E17 #172F86
analogous
#863617 #866E17 #668617
triadic
#866E17 #17866E #6E1786
tetradic
#866E17 #178636 #172F86 #861766
square
#866E17 #178636 #172F86 #861766
split-complementary
#866E17 #176686 #361786
monochromatic
#1E1805 #52430E #866E17 #BA9920 #DDBA3A

Accessibility & contrast

On white

4.93
#866E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#866E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866E17
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866E17#FFFFFF#000000##FFFFFF
##866E171.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#81731D
Tritanopia (blue-blind)
#92645E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #866e17;
/* rgb */ color: rgb(134, 110, 23);
/* oklch */ color: oklch(54.6% 0.104 92.2);
Tailwind
colors: {
  custom: {
    50: '#ad975d',
    500: '#866e17',
    950: '#000000',
  },
}
SCSS
$custom: #866e17;
$custom-light: #ad975d;
$custom-dark: #000000;
JSON
{
  "hex": "#866e17",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 47.027,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54631,
    "c": 0.10369,
    "h": 92.2
  },
  "luminance": 0.16282
}

Semantic roles & 50–950 ramp

primary
#866E17
secondary
#3F59BA
accent
#61ED3A
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #866E17

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

Preview Lab → · Contrast checker → · Palette generator →

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