#87712D#87712D

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

Color values

HEX#87712D
RGBrgb(135, 113, 45)
HSLhsl(45, 50%, 35%)
HSVhsv(45, 67%, 53%)
CMYKcmyk(0%, 16.3%, 66.7%, 47.1%)
CIE-LABlab(48.45, 0.39, 39.84)
CIE-LCHlch(48.45, 39.84, 89.43°)
OKLaboklab(55.58% -0.0018 0.0908)
OKLCHoklch(55.58% 0.091 91.2)
XYZxyz(16.3713, 17.1515, 4.9304)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87712D #2D4387
analogous
#87442D #87712D #70872D
triadic
#87712D #2D8771 #712D87
tetradic
#87712D #2D8744 #2D4387 #872D70
square
#87712D #2D8744 #2D4387 #872D70
split-complementary
#87712D #2D7087 #442D87
monochromatic
#2B240E #594B1E #87712D #B5973C #CBB263

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87712D#FFFFFF#000000##FFFFFF
##87712D1.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)
#7D6F25
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#926862
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #87712d;
/* rgb */ color: rgb(135, 113, 45);
/* oklch */ color: oklch(55.6% 0.091 91.2);
Tailwind
colors: {
  custom: {
    50: '#ad9969',
    500: '#87712d',
    950: '#000000',
  },
}
SCSS
$custom: #87712d;
$custom-light: #ad9969;
$custom-dark: #000000;
JSON
{
  "hex": "#87712d",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 45.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55581,
    "c": 0.09081,
    "h": 91.2
  },
  "luminance": 0.17151
}

Semantic roles & 50–950 ramp

primary
#87712D
secondary
#5E73B2
accent
#70DA4E
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110D06
muted
#807E7A

Preview Lab

Preview with #87712D

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

Preview Lab → · Contrast checker → · Palette generator →

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