#87712B#87712B

#87712B is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.6% C 0.092 H 91.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#87712B
RGBrgb(135, 113, 43)
HSLhsl(46, 52%, 35%)
HSVhsv(46, 68%, 53%)
CMYKcmyk(0%, 16.3%, 68.1%, 47.1%)
CIE-LABlab(48.43, 0.26, 40.77)
CIE-LCHlch(48.43, 40.77, 89.63°)
OKLaboklab(55.56% -0.0025 0.0924)
OKLCHoklch(55.56% 0.092 91.5)
XYZxyz(16.3337, 17.1365, 4.7324)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87712B #2B4187
analogous
#87432B #87712B #6F872B
triadic
#87712B #2B8771 #712B87
tetradic
#87712B #2B8743 #2B4187 #872B6F
square
#87712B #2B8743 #2B4187 #872B6F
split-complementary
#87712B #2B6F87 #432B87
monochromatic
#2A230D #594A1C #87712B #B5983A #CCB260

Accessibility & contrast

On white

4.74
#87712B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#87712B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87712B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87712B#FFFFFF#000000##FFFFFF
##87712B1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F23
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#926862
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #87712b;
/* rgb */ color: rgb(135, 113, 43);
/* oklch */ color: oklch(55.6% 0.092 91.5);
Tailwind
colors: {
  custom: {
    50: '#ad9968',
    500: '#87712b',
    950: '#000000',
  },
}
SCSS
$custom: #87712b;
$custom-light: #ad9968;
$custom-dark: #000000;
JSON
{
  "hex": "#87712b",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 45.652,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5556,
    "c": 0.09247,
    "h": 91.5
  },
  "luminance": 0.17136
}

Semantic roles & 50–950 ramp

primary
#87712B
secondary
#5B70B2
accent
#6FDB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D06
muted
#807E7A

Preview Lab

Preview with #87712B

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

Preview Lab → · Contrast checker → · Palette generator →

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