#866F1F#866F1F

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

Color values

HEX#866F1F
RGBrgb(134, 111, 31)
HSLhsl(47, 62%, 32%)
HSVhsv(47, 77%, 53%)
CMYKcmyk(0%, 17.2%, 76.9%, 47.5%)
CIE-LABlab(47.67, 0.27, 45.25)
CIE-LCHlch(47.67, 45.25, 89.66°)
OKLaboklab(54.91% -0.0039 0.0997)
OKLCHoklch(54.91% 0.1 92.2)
XYZxyz(15.7642, 16.5371, 3.6577)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866F1F #1F3686
analogous
#863C1F #866F1F #6A861F
triadic
#866F1F #1F866F #6F1F86
tetradic
#866F1F #1F863C #1F3686 #861F6A
square
#866F1F #1F863C #1F3686 #861F6A
split-complementary
#866F1F #1F6A86 #3C1F86
monochromatic
#231D08 #544614 #866F1F #B8982A #D5B64A

Accessibility & contrast

On white

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

On black

4.31
#866F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##866F1F#FFFFFF#000000##FFFFFF
##866F1F1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D12
Deuteranopia (green-blind)
#817424
Tritanopia (blue-blind)
#91655F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #866f1f;
/* rgb */ color: rgb(134, 111, 31);
/* oklch */ color: oklch(54.9% 0.100 92.2);
Tailwind
colors: {
  custom: {
    50: '#ad9861',
    500: '#866f1f',
    950: '#000000',
  },
}
SCSS
$custom: #866f1f;
$custom-light: #ad9861;
$custom-dark: #000000;
JSON
{
  "hex": "#866f1f",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 46.602,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54905,
    "c": 0.09973,
    "h": 92.2
  },
  "luminance": 0.16536
}

Semantic roles & 50–950 ramp

primary
#866F1F
secondary
#4962B8
accent
#67E542
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #866F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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