#866F1C#866F1C

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

Color values

HEX#866F1C
RGBrgb(134, 111, 28)
HSLhsl(47, 65%, 32%)
HSVhsv(47, 79%, 53%)
CMYKcmyk(0%, 17.2%, 79.1%, 47.5%)
CIE-LABlab(47.65, 0.13, 46.40)
CIE-LCHlch(47.65, 46.40, 89.84°)
OKLaboklab(54.88% -0.0046 0.1015)
OKLCHoklch(54.88% 0.102 92.6)
XYZxyz(15.7264, 16.5220, 3.4591)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866F1C #1C3386
analogous
#863A1C #866F1C #68861C
triadic
#866F1C #1C866F #6F1C86
tetradic
#866F1C #1C863A #1C3386 #861C68
square
#866F1C #1C863A #1C3386 #861C68
split-complementary
#866F1C #1C6886 #3A1C86
monochromatic
#211B07 #534511 #866F1C #B99927 #D8B844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##866F1C#FFFFFF#000000##FFFFFF
##866F1C1.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)
#7C6D0C
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#91655F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #866f1c;
/* rgb */ color: rgb(134, 111, 28);
/* oklch */ color: oklch(54.9% 0.102 92.6);
Tailwind
colors: {
  custom: {
    50: '#ad985f',
    500: '#866f1c',
    950: '#000000',
  },
}
SCSS
$custom: #866f1c;
$custom-light: #ad985f;
$custom-dark: #000000;
JSON
{
  "hex": "#866f1c",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 28
  },
  "hsl": {
    "h": 46.981,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54884,
    "c": 0.10157,
    "h": 92.6
  },
  "luminance": 0.16521
}

Semantic roles & 50–950 ramp

primary
#866F1C
secondary
#455EB9
accent
#64E83F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #866F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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