#876F22#876F22

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

Color values

HEX#876F22
RGBrgb(135, 111, 34)
HSLhsl(46, 60%, 33%)
HSVhsv(46, 75%, 53%)
CMYKcmyk(0%, 17.8%, 74.8%, 47.1%)
CIE-LABlab(47.80, 0.89, 44.16)
CIE-LCHlch(47.80, 44.17, 88.85°)
OKLaboklab(55.04% -0.0018 0.0979)
OKLCHoklch(55.04% 0.098 91.1)
XYZxyz(15.9657, 16.6362, 3.8832)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876F22 #223A87
analogous
#873D22 #876F22 #6C8722
triadic
#876F22 #22876F #6F2287
tetradic
#876F22 #22873D #223A87 #87226C
square
#876F22 #22873D #223A87 #87226C
split-complementary
#876F22 #226C87 #3D2287
monochromatic
#251F09 #564716 #876F22 #B8972E #D3B450

Accessibility & contrast

On white

4.85
#876F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#876F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #876F22
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876F22#FFFFFF#000000##FFFFFF
##876F221.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #876f22;
/* rgb */ color: rgb(135, 111, 34);
/* oklch */ color: oklch(55.0% 0.098 91.1);
Tailwind
colors: {
  custom: {
    50: '#ad9862',
    500: '#876f22',
    950: '#000000',
  },
}
SCSS
$custom: #876f22;
$custom-light: #ad9862;
$custom-dark: #000000;
JSON
{
  "hex": "#876f22",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 45.743,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55037,
    "c": 0.09795,
    "h": 91.1
  },
  "luminance": 0.16635
}

Semantic roles & 50–950 ramp

primary
#876F22
secondary
#4E67B7
accent
#6AE345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #876F22

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

Preview Lab → · Contrast checker → · Palette generator →

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