#87701E#87701E

#87701E is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.2% C 0.101 H 92.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#87701E
RGBrgb(135, 112, 30)
HSLhsl(47, 64%, 32%)
HSVhsv(47, 78%, 53%)
CMYKcmyk(0%, 17%, 77.8%, 47.1%)
CIE-LABlab(48.05, 0.12, 46.04)
CIE-LCHlch(48.05, 46.04, 89.85°)
OKLaboklab(55.23% -0.0045 0.1011)
OKLCHoklch(55.23% 0.101 92.5)
XYZxyz(16.0211, 16.8339, 3.6335)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87701E #1E3587
analogous
#873B1E #87701E #6A871E
triadic
#87701E #1E8770 #701E87
tetradic
#87701E #1E873B #1E3587 #871E6A
square
#87701E #1E873B #1E3587 #871E6A
split-complementary
#87701E #1E6A87 #3B1E87
monochromatic
#231D08 #554613 #87701E #B99A29 #D7B749

Accessibility & contrast

On white

4.81
#87701E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#87701E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87701E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87701E#FFFFFF#000000##FFFFFF
##87701E1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0F
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#926660
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #87701e;
/* rgb */ color: rgb(135, 112, 30);
/* oklch */ color: oklch(55.2% 0.101 92.5);
Tailwind
colors: {
  custom: {
    50: '#ae9860',
    500: '#87701e',
    950: '#000000',
  },
}
SCSS
$custom: #87701e;
$custom-light: #ae9860;
$custom-dark: #000000;
JSON
{
  "hex": "#87701e",
  "rgb": {
    "r": 135,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 46.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55227,
    "c": 0.10118,
    "h": 92.5
  },
  "luminance": 0.16833
}

Semantic roles & 50–950 ramp

primary
#87701E
secondary
#4861B9
accent
#65E741
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #87701E

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

Preview Lab → · Contrast checker → · Palette generator →

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