#87712A#87712A

#87712A is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.5% C 0.093 H 91.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#87712A
RGBrgb(135, 113, 42)
HSLhsl(46, 53%, 35%)
HSVhsv(46, 69%, 53%)
CMYKcmyk(0%, 16.3%, 68.9%, 47.1%)
CIE-LABlab(48.42, 0.20, 41.23)
CIE-LCHlch(48.42, 41.23, 89.73°)
OKLaboklab(55.55% -0.0028 0.0932)
OKLCHoklch(55.55% 0.093 91.7)
XYZxyz(16.3155, 17.1292, 4.6369)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87712A #2A4087
analogous
#87422A #87712A #6F872A
triadic
#87712A #2A8771 #712A87
tetradic
#87712A #2A8742 #2A4087 #872A6F
square
#87712A #2A8742 #2A4087 #872A6F
split-complementary
#87712A #2A6F87 #422A87
monochromatic
#2A230D #584A1B #87712A #B69839 #CDB35E

Accessibility & contrast

On white

4.75
#87712A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #87712A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87712A#FFFFFF#000000##FFFFFF
##87712A1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87712a;
/* rgb */ color: rgb(135, 113, 42);
/* oklch */ color: oklch(55.5% 0.093 91.7);
Tailwind
colors: {
  custom: {
    50: '#ad9967',
    500: '#87712a',
    950: '#000000',
  },
}
SCSS
$custom: #87712a;
$custom-light: #ad9967;
$custom-dark: #000000;
JSON
{
  "hex": "#87712a",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 45.806,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5555,
    "c": 0.09328,
    "h": 91.7
  },
  "luminance": 0.17128
}

Semantic roles & 50–950 ramp

primary
#87712A
secondary
#5A6FB3
accent
#6EDC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D06
muted
#807E7A

Preview Lab

Preview with #87712A

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

Preview Lab → · Contrast checker → · Palette generator →

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