#866E1F#866E1F

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

Color values

HEX#866E1F
RGBrgb(134, 110, 31)
HSLhsl(46, 62%, 32%)
HSVhsv(46, 77%, 53%)
CMYKcmyk(0%, 17.9%, 76.9%, 47.5%)
CIE-LABlab(47.39, 0.84, 44.98)
CIE-LCHlch(47.39, 44.98, 88.93°)
OKLaboklab(54.68% -0.0022 0.0991)
OKLCHoklch(54.68% 0.099 91.3)
XYZxyz(15.6557, 16.3201, 3.6215)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866E1F #1F3786
analogous
#863A1F #866E1F #6B861F
triadic
#866E1F #1F866E #6E1F86
tetradic
#866E1F #1F863A #1F3786 #861F6B
square
#866E1F #1F863A #1F3786 #861F6B
split-complementary
#866E1F #1F6B86 #3A1F86
monochromatic
#231C08 #544514 #866E1F #B8972A #D5B54A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##866E1F#FFFFFF#000000##FFFFFF
##866E1F1.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)
#7B6C12
Deuteranopia (green-blind)
#817323
Tritanopia (blue-blind)
#91645E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #866e1f;
/* rgb */ color: rgb(134, 110, 31);
/* oklch */ color: oklch(54.7% 0.099 91.3);
Tailwind
colors: {
  custom: {
    50: '#ad9761',
    500: '#866e1f',
    950: '#000000',
  },
}
SCSS
$custom: #866e1f;
$custom-light: #ad9761;
$custom-dark: #000000;
JSON
{
  "hex": "#866e1f",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 46.019,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54685,
    "c": 0.0991,
    "h": 91.3
  },
  "luminance": 0.16319
}

Semantic roles & 50–950 ramp

primary
#866E1F
secondary
#4963B8
accent
#68E542
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #866E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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