#87712E#87712E

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

Color values

HEX#87712E
RGBrgb(135, 113, 46)
HSLhsl(45, 49%, 35%)
HSVhsv(45, 66%, 53%)
CMYKcmyk(0%, 16.3%, 65.9%, 47.1%)
CIE-LABlab(48.46, 0.46, 39.36)
CIE-LCHlch(48.46, 39.36, 89.33°)
OKLaboklab(55.59% -0.0015 0.0899)
OKLCHoklch(55.59% 0.09 91)
XYZxyz(16.3907, 17.1593, 5.0330)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87712E #2E4487
analogous
#87452E #87712E #70872E
triadic
#87712E #2E8771 #712E87
tetradic
#87712E #2E8745 #2E4487 #872E70
square
#87712E #2E8745 #2E4487 #872E70
split-complementary
#87712E #2E7087 #452E87
monochromatic
#2C250F #594B1E #87712E #B5973E #CAB165

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87712E#FFFFFF#000000##FFFFFF
##87712E1.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)
#7D6F27
Deuteranopia (green-blind)
#827631
Tritanopia (blue-blind)
#926863
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #87712e;
/* rgb */ color: rgb(135, 113, 46);
/* oklch */ color: oklch(55.6% 0.090 91.0);
Tailwind
colors: {
  custom: {
    50: '#ad996a',
    500: '#87712e',
    950: '#000000',
  },
}
SCSS
$custom: #87712e;
$custom-light: #ad996a;
$custom-dark: #000000;
JSON
{
  "hex": "#87712e",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 46
  },
  "hsl": {
    "h": 45.169,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55592,
    "c": 0.08995,
    "h": 91
  },
  "luminance": 0.17158
}

Semantic roles & 50–950 ramp

primary
#87712E
secondary
#6074B1
accent
#71D94F
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110D06
muted
#807E7A

Preview Lab

Preview with #87712E

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

Preview Lab → · Contrast checker → · Palette generator →

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