#87701C#87701C

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

Color values

HEX#87701C
RGBrgb(135, 112, 28)
HSLhsl(47, 66%, 32%)
HSVhsv(47, 79%, 53%)
CMYKcmyk(0%, 17%, 79.3%, 47.1%)
CIE-LABlab(48.04, 0.03, 46.80)
CIE-LCHlch(48.04, 46.80, 89.96°)
OKLaboklab(55.21% -0.005 0.1023)
OKLCHoklch(55.21% 0.102 92.8)
XYZxyz(15.9964, 16.8240, 3.5032)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87701C #1C3387
analogous
#873B1C #87701C #69871C
triadic
#87701C #1C8770 #701C87
tetradic
#87701C #1C873B #1C3387 #871C69
square
#87701C #1C873B #1C3387 #871C69
split-complementary
#87701C #1C6987 #3B1C87
monochromatic
#221C07 #544611 #87701C #BA9A27 #D8B945

Accessibility & contrast

On white

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

On black

4.36
#87701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##87701C#FFFFFF#000000##FFFFFF
##87701C1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0B
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#936660
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #87701c;
/* rgb */ color: rgb(135, 112, 28);
/* oklch */ color: oklch(55.2% 0.102 92.8);
Tailwind
colors: {
  custom: {
    50: '#ae985f',
    500: '#87701c',
    950: '#000000',
  },
}
SCSS
$custom: #87701c;
$custom-light: #ae985f;
$custom-dark: #000000;
JSON
{
  "hex": "#87701c",
  "rgb": {
    "r": 135,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 47.103,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55213,
    "c": 0.10238,
    "h": 92.8
  },
  "luminance": 0.16823
}

Semantic roles & 50–950 ramp

primary
#87701C
secondary
#455EBA
accent
#64E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #87701C

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

Preview Lab → · Contrast checker → · Palette generator →

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