#866E21#866E21

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

Color values

HEX#866E21
RGBrgb(134, 110, 33)
HSLhsl(46, 60%, 33%)
HSVhsv(46, 75%, 53%)
CMYKcmyk(0%, 17.9%, 75.4%, 47.5%)
CIE-LABlab(47.41, 0.94, 44.16)
CIE-LCHlch(47.41, 44.17, 88.78°)
OKLaboklab(54.7% -0.0017 0.0978)
OKLCHoklch(54.7% 0.098 91)
XYZxyz(15.6828, 16.3310, 3.7647)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866E21 #213986
analogous
#863C21 #866E21 #6B8621
triadic
#866E21 #21866E #6E2186
tetradic
#866E21 #21863C #213986 #86216B
square
#866E21 #21863C #213986 #86216B
split-complementary
#866E21 #216B86 #3C2186
monochromatic
#241D09 #554615 #866E21 #B7962D #D3B44E

Accessibility & contrast

On white

4.92
#866E21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#866E21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866E21
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866E21#FFFFFF#000000##FFFFFF
##866E211.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C15
Deuteranopia (green-blind)
#817325
Tritanopia (blue-blind)
#91645F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #866e21;
/* rgb */ color: rgb(134, 110, 33);
/* oklch */ color: oklch(54.7% 0.098 91.0);
Tailwind
colors: {
  custom: {
    50: '#ad9762',
    500: '#866e21',
    950: '#000000',
  },
}
SCSS
$custom: #866e21;
$custom-light: #ad9762;
$custom-dark: #000000;
JSON
{
  "hex": "#866e21",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 33
  },
  "hsl": {
    "h": 45.743,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.547,
    "c": 0.09779,
    "h": 91
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

primary
#866E21
secondary
#4C65B7
accent
#6AE444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #866E21

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

Preview Lab → · Contrast checker → · Palette generator →

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