#866F22#866F22

#866F22 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.9% C 0.098 H 91.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#866F22
RGBrgb(134, 111, 34)
HSLhsl(46, 60%, 33%)
HSVhsv(46, 75%, 53%)
CMYKcmyk(0%, 17.2%, 74.6%, 47.5%)
CIE-LABlab(47.69, 0.42, 44.02)
CIE-LCHlch(47.69, 44.03, 89.46°)
OKLaboklab(54.93% -0.0031 0.0977)
OKLCHoklch(54.93% 0.098 91.8)
XYZxyz(15.8056, 16.5536, 3.8757)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866F22 #223986
analogous
#863D22 #866F22 #6B8622
triadic
#866F22 #22866F #6F2286
tetradic
#866F22 #22863D #223986 #86226B
square
#866F22 #22863D #223986 #86226B
split-complementary
#866F22 #226B86 #3D2286
monochromatic
#241E09 #554716 #866F22 #B7972E #D3B450

Accessibility & contrast

On white

4.87
#866F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #866F22
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866F22#FFFFFF#000000##FFFFFF
##866F221.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D16
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#916660
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #866f22;
/* rgb */ color: rgb(134, 111, 34);
/* oklch */ color: oklch(54.9% 0.098 91.8);
Tailwind
colors: {
  custom: {
    50: '#ad9862',
    500: '#866f22',
    950: '#000000',
  },
}
SCSS
$custom: #866f22;
$custom-light: #ad9862;
$custom-dark: #000000;
JSON
{
  "hex": "#866f22",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 46.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54929,
    "c": 0.09773,
    "h": 91.8
  },
  "luminance": 0.16553
}

Semantic roles & 50–950 ramp

primary
#866F22
secondary
#4E66B6
accent
#69E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #866F22

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

Preview Lab → · Contrast checker → · Palette generator →

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