#876F1E#876F1E

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

Color values

HEX#876F1E
RGBrgb(135, 111, 30)
HSLhsl(46, 64%, 32%)
HSVhsv(46, 78%, 53%)
CMYKcmyk(0%, 17.8%, 77.8%, 47.1%)
CIE-LABlab(47.77, 0.69, 45.78)
CIE-LCHlch(47.77, 45.78, 89.13°)
OKLaboklab(55.01% -0.0029 0.1005)
OKLCHoklch(55.01% 0.101 91.6)
XYZxyz(15.9114, 16.6145, 3.5969)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876F1E #1E3687
analogous
#873B1E #876F1E #6A871E
triadic
#876F1E #1E876F #6F1E87
tetradic
#876F1E #1E873B #1E3687 #871E6A
square
#876F1E #1E873B #1E3687 #871E6A
split-complementary
#876F1E #1E6A87 #3B1E87
monochromatic
#231D08 #554613 #876F1E #B99829 #D7B649

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##876F1E#FFFFFF#000000##FFFFFF
##876F1E1.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)
#7C6D10
Deuteranopia (green-blind)
#827423
Tritanopia (blue-blind)
#93655F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #876f1e;
/* rgb */ color: rgb(135, 111, 30);
/* oklch */ color: oklch(55.0% 0.101 91.6);
Tailwind
colors: {
  custom: {
    50: '#ae9860',
    500: '#876f1e',
    950: '#000000',
  },
}
SCSS
$custom: #876f1e;
$custom-light: #ae9860;
$custom-dark: #000000;
JSON
{
  "hex": "#876f1e",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 30
  },
  "hsl": {
    "h": 46.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55006,
    "c": 0.10055,
    "h": 91.6
  },
  "luminance": 0.16614
}

Semantic roles & 50–950 ramp

primary
#876F1E
secondary
#4862B9
accent
#67E741
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #876F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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