#866F17#866F17

#866F17 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.9% C 0.104 H 93.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#866F17
RGBrgb(134, 111, 23)
HSLhsl(48, 71%, 31%)
HSVhsv(48, 83%, 53%)
CMYKcmyk(0%, 17.2%, 82.8%, 47.5%)
CIE-LABlab(47.62, -0.07, 48.17)
CIE-LCHlch(47.62, 48.17, 90.08°)
OKLaboklab(54.85% -0.0057 0.1042)
OKLCHoklch(54.85% 0.104 93.1)
XYZxyz(15.6715, 16.5000, 3.1698)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866F17 #172E86
analogous
#863817 #866F17 #658617
triadic
#866F17 #17866F #6F1786
tetradic
#866F17 #178638 #172E86 #861765
square
#866F17 #178638 #172E86 #861765
split-complementary
#866F17 #176586 #381786
monochromatic
#1E1805 #52440E #866F17 #BA9A20 #DDBB3A

Accessibility & contrast

On white

4.88
#866F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#866F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866F17
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866F17#FFFFFF#000000##FFFFFF
##866F171.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#82741D
Tritanopia (blue-blind)
#92655F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #866f17;
/* rgb */ color: rgb(134, 111, 23);
/* oklch */ color: oklch(54.9% 0.104 93.1);
Tailwind
colors: {
  custom: {
    50: '#ad985d',
    500: '#866f17',
    950: '#000000',
  },
}
SCSS
$custom: #866f17;
$custom-light: #ad985d;
$custom-dark: #000000;
JSON
{
  "hex": "#866f17",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 47.568,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54853,
    "c": 0.10431,
    "h": 93.1
  },
  "luminance": 0.16499
}

Semantic roles & 50–950 ramp

primary
#866F17
secondary
#3F58BA
accent
#5FED3A
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #866F17

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

Preview Lab → · Contrast checker → · Palette generator →

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