#87711B#87711B

#87711B is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.4% C 0.104 H 93.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#87711B
RGBrgb(135, 113, 27)
HSLhsl(48, 67%, 32%)
HSVhsv(48, 80%, 53%)
CMYKcmyk(0%, 16.3%, 80%, 47.1%)
CIE-LABlab(48.31, -0.58, 47.42)
CIE-LCHlch(48.31, 47.43, 90.70°)
OKLaboklab(55.43% -0.0068 0.1034)
OKLCHoklch(55.43% 0.104 93.8)
XYZxyz(16.0955, 17.0412, 3.4782)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87711B #1B3187
analogous
#873B1B #87711B #67871B
triadic
#87711B #1B8771 #711B87
tetradic
#87711B #1B873B #1B3187 #871B67
square
#87711B #1B873B #1B3187 #871B67
split-complementary
#87711B #1B6787 #3B1B87
monochromatic
#211C07 #544611 #87711B #BA9C25 #D9BB43

Accessibility & contrast

On white

4.76
#87711B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#87711B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87711B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87711B#FFFFFF#000000##FFFFFF
##87711B1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F09
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#926761
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #87711b;
/* rgb */ color: rgb(135, 113, 27);
/* oklch */ color: oklch(55.4% 0.104 93.8);
Tailwind
colors: {
  custom: {
    50: '#ae995f',
    500: '#87711b',
    950: '#000000',
  },
}
SCSS
$custom: #87711b;
$custom-light: #ae995f;
$custom-dark: #000000;
JSON
{
  "hex": "#87711b",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 47.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55428,
    "c": 0.1036,
    "h": 93.8
  },
  "luminance": 0.1704
}

Semantic roles & 50–950 ramp

primary
#87711B
secondary
#445CBA
accent
#61EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #87711B

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

Preview Lab → · Contrast checker → · Palette generator →

#87711B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva