#87712F#87712F

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

Color values

HEX#87712F
RGBrgb(135, 113, 47)
HSLhsl(45, 48%, 36%)
HSVhsv(45, 65%, 53%)
CMYKcmyk(0%, 16.3%, 65.2%, 47.1%)
CIE-LABlab(48.47, 0.53, 38.88)
CIE-LCHlch(48.47, 38.89, 89.22°)
OKLaboklab(55.6% -0.0012 0.0891)
OKLCHoklch(55.6% 0.089 90.8)
XYZxyz(16.4107, 17.1673, 5.1380)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87712F #2F4587
analogous
#87452F #87712F #71872F
triadic
#87712F #2F8771 #712F87
tetradic
#87712F #2F8745 #2F4587 #872F71
square
#87712F #2F8745 #2F4587 #872F71
split-complementary
#87712F #2F7187 #452F87
monochromatic
#2C250F #5A4B1F #87712F #B4973F #CAB166

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87712F#FFFFFF#000000##FFFFFF
##87712F1.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)
#7D6F28
Deuteranopia (green-blind)
#827632
Tritanopia (blue-blind)
#926863
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #87712f;
/* rgb */ color: rgb(135, 113, 47);
/* oklch */ color: oklch(55.6% 0.089 90.8);
Tailwind
colors: {
  custom: {
    50: '#ad996a',
    500: '#87712f',
    950: '#000000',
  },
}
SCSS
$custom: #87712f;
$custom-light: #ad996a;
$custom-dark: #000000;
JSON
{
  "hex": "#87712f",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 45,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55603,
    "c": 0.08908,
    "h": 90.8
  },
  "luminance": 0.17166
}

Semantic roles & 50–950 ramp

primary
#87712F
secondary
#6175B1
accent
#72D850
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110D07
muted
#807E7A

Preview Lab

Preview with #87712F

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

Preview Lab → · Contrast checker → · Palette generator →

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