#876F20#876F20

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

Color values

HEX#876F20
RGBrgb(135, 111, 32)
HSLhsl(46, 62%, 33%)
HSVhsv(46, 76%, 53%)
CMYKcmyk(0%, 17.8%, 76.3%, 47.1%)
CIE-LABlab(47.78, 0.79, 44.98)
CIE-LCHlch(47.78, 44.99, 89.00°)
OKLaboklab(55.02% -0.0023 0.0993)
OKLCHoklch(55.02% 0.099 91.4)
XYZxyz(15.9377, 16.6250, 3.7357)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876F20 #203887
analogous
#873B20 #876F20 #6C8720
triadic
#876F20 #20876F #6F2087
tetradic
#876F20 #20873B #203887 #87206C
square
#876F20 #20873B #203887 #87206C
split-complementary
#876F20 #206C87 #3B2087
monochromatic
#241E09 #564614 #876F20 #B8982C #D5B54D

Accessibility & contrast

On white

4.86
#876F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#876F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #876F20
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876F20#FFFFFF#000000##FFFFFF
##876F201.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)
#7C6D13
Deuteranopia (green-blind)
#827424
Tritanopia (blue-blind)
#92655F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #876f20;
/* rgb */ color: rgb(135, 111, 32);
/* oklch */ color: oklch(55.0% 0.099 91.4);
Tailwind
colors: {
  custom: {
    50: '#ae9861',
    500: '#876f20',
    950: '#000000',
  },
}
SCSS
$custom: #876f20;
$custom-light: #ae9861;
$custom-dark: #000000;
JSON
{
  "hex": "#876f20",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 46.019,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55021,
    "c": 0.09929,
    "h": 91.4
  },
  "luminance": 0.16624
}

Semantic roles & 50–950 ramp

primary
#876F20
secondary
#4B64B8
accent
#69E543
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #876F20

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

Preview Lab → · Contrast checker → · Palette generator →

#876F20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva