#866F2A#866F2A

#866F2A is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 55.0% C 0.092 H 90.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#866F2A
RGBrgb(134, 111, 42)
HSLhsl(45, 52%, 35%)
HSVhsv(45, 69%, 53%)
CMYKcmyk(0%, 17.2%, 68.7%, 47.5%)
CIE-LABlab(47.76, 0.88, 40.50)
CIE-LCHlch(47.76, 40.51, 88.76°)
OKLaboklab(55% -0.0008 0.0917)
OKLCHoklch(55% 0.092 90.5)
XYZxyz(15.9347, 16.6053, 4.5559)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866F2A #2A4186
analogous
#86412A #866F2A #6F862A
triadic
#866F2A #2A866F #6F2A86
tetradic
#866F2A #2A8641 #2A4186 #862A6F
square
#866F2A #2A8641 #2A4186 #862A6F
split-complementary
#866F2A #2A6F86 #412A86
monochromatic
#29220D #57481B #866F2A #B59639 #CDB15E

Accessibility & contrast

On white

4.86
#866F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#866F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866F2A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866F2A#FFFFFF#000000##FFFFFF
##866F2A1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E22
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#916660
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #866f2a;
/* rgb */ color: rgb(134, 111, 42);
/* oklch */ color: oklch(55.0% 0.092 90.5);
Tailwind
colors: {
  custom: {
    50: '#ac9867',
    500: '#866f2a',
    950: '#000000',
  },
}
SCSS
$custom: #866f2a;
$custom-light: #ac9867;
$custom-dark: #000000;
JSON
{
  "hex": "#866f2a",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 45,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55002,
    "c": 0.09172,
    "h": 90.5
  },
  "luminance": 0.16604
}

Semantic roles & 50–950 ramp

primary
#866F2A
secondary
#5A70B2
accent
#70DC4C
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110D06
muted
#807E7A

Preview Lab

Preview with #866F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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