#876F1F#876F1F

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

Color values

HEX#876F1F
RGBrgb(135, 111, 31)
HSLhsl(46, 63%, 33%)
HSVhsv(46, 77%, 53%)
CMYKcmyk(0%, 17.8%, 77%, 47.1%)
CIE-LABlab(47.78, 0.74, 45.38)
CIE-LCHlch(47.78, 45.39, 89.07°)
OKLaboklab(55.01% -0.0026 0.0999)
OKLCHoklch(55.01% 0.1 91.5)
XYZxyz(15.9243, 16.6197, 3.6652)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876F1F #1F3787
analogous
#873B1F #876F1F #6B871F
triadic
#876F1F #1F876F #6F1F87
tetradic
#876F1F #1F873B #1F3787 #871F6B
square
#876F1F #1F873B #1F3787 #871F6B
split-complementary
#876F1F #1F6B87 #3B1F87
monochromatic
#231D08 #554614 #876F1F #B9982A #D6B64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #876f1f;
/* rgb */ color: rgb(135, 111, 31);
/* oklch */ color: oklch(55.0% 0.100 91.5);
Tailwind
colors: {
  custom: {
    50: '#ae9861',
    500: '#876f1f',
    950: '#000000',
  },
}
SCSS
$custom: #876f1f;
$custom-light: #ae9861;
$custom-dark: #000000;
JSON
{
  "hex": "#876f1f",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 46.154,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55013,
    "c": 0.09992,
    "h": 91.5
  },
  "luminance": 0.16619
}

Semantic roles & 50–950 ramp

primary
#876F1F
secondary
#4A63B8
accent
#68E642
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #876F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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