#866D21#866D21

#866D21 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.5% C 0.097 H 90.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#866D21
RGBrgb(134, 109, 33)
HSLhsl(45, 60%, 33%)
HSVhsv(45, 75%, 53%)
CMYKcmyk(0%, 18.7%, 75.4%, 47.5%)
CIE-LABlab(47.13, 1.52, 43.89)
CIE-LCHlch(47.13, 43.92, 88.02°)
OKLaboklab(54.48% -0.0001 0.0972)
OKLCHoklch(54.48% 0.097 90)
XYZxyz(15.5756, 16.1164, 3.7289)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866D21 #213A86
analogous
#863B21 #866D21 #6C8621
triadic
#866D21 #21866D #6D2186
tetradic
#866D21 #21863B #213A86 #86216C
square
#866D21 #21863B #213A86 #86216C
split-complementary
#866D21 #216C86 #3B2186
monochromatic
#241D09 #554515 #866D21 #B7952D #D3B24E

Accessibility & contrast

On white

4.97
#866D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#866D21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866D21
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866D21#FFFFFF#000000##FFFFFF
##866D211.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C15
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#91635E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #866d21;
/* rgb */ color: rgb(134, 109, 33);
/* oklch */ color: oklch(54.5% 0.097 90.0);
Tailwind
colors: {
  custom: {
    50: '#ad9662',
    500: '#866d21',
    950: '#000000',
  },
}
SCSS
$custom: #866d21;
$custom-light: #ad9662;
$custom-dark: #000000;
JSON
{
  "hex": "#866d21",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 33
  },
  "hsl": {
    "h": 45.149,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5448,
    "c": 0.09719,
    "h": 90
  },
  "luminance": 0.16115
}

Semantic roles & 50–950 ramp

primary
#866D21
secondary
#4C67B7
accent
#6CE444
background
#FBF9F6
surface
#F6F1EB
border
#D0CBC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #866D21

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

Preview Lab → · Contrast checker → · Palette generator →

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