#866F1A#866F1A

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

Color values

HEX#866F1A
RGBrgb(134, 111, 26)
HSLhsl(47, 68%, 31%)
HSVhsv(47, 81%, 53%)
CMYKcmyk(0%, 17.2%, 80.6%, 47.5%)
CIE-LABlab(47.64, 0.05, 47.13)
CIE-LCHlch(47.64, 47.13, 89.94°)
OKLaboklab(54.87% -0.0051 0.1026)
OKLCHoklch(54.87% 0.103 92.8)
XYZxyz(15.7033, 16.5127, 3.3372)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866F1A #1A3186
analogous
#86391A #866F1A #67861A
triadic
#866F1A #1A866F #6F1A86
tetradic
#866F1A #1A8639 #1A3186 #861A67
square
#866F1A #1A8639 #1A3186 #861A67
split-complementary
#866F1A #1A6786 #391A86
monochromatic
#1F1A06 #534510 #866F1A #B99924 #DAB940

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##866F1A#FFFFFF#000000##FFFFFF
##866F1A1.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)
#7C6D08
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#91655F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #866f1a;
/* rgb */ color: rgb(134, 111, 26);
/* oklch */ color: oklch(54.9% 0.103 92.8);
Tailwind
colors: {
  custom: {
    50: '#ad985e',
    500: '#866f1a',
    950: '#000000',
  },
}
SCSS
$custom: #866f1a;
$custom-light: #ad985e;
$custom-dark: #000000;
JSON
{
  "hex": "#866f1a",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 47.222,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.10272,
    "h": 92.8
  },
  "luminance": 0.16512
}

Semantic roles & 50–950 ramp

primary
#866F1A
secondary
#425CB9
accent
#62EA3D
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #866F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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