#87701D#87701D

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

Color values

HEX#87701D
RGBrgb(135, 112, 29)
HSLhsl(47, 65%, 32%)
HSVhsv(47, 79%, 53%)
CMYKcmyk(0%, 17%, 78.5%, 47.1%)
CIE-LABlab(48.04, 0.08, 46.42)
CIE-LCHlch(48.04, 46.42, 89.91°)
OKLaboklab(55.22% -0.0047 0.1017)
OKLCHoklch(55.22% 0.102 92.7)
XYZxyz(16.0085, 16.8289, 3.5673)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87701D #1D3487
analogous
#873B1D #87701D #69871D
triadic
#87701D #1D8770 #701D87
tetradic
#87701D #1D873B #1D3487 #871D69
square
#87701D #1D873B #1D3487 #871D69
split-complementary
#87701D #1D6987 #3B1D87
monochromatic
#221C07 #554612 #87701D #B99A28 #D7B847

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87701D#FFFFFF#000000##FFFFFF
##87701D1.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)
#7D6E0D
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#926660
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #87701d;
/* rgb */ color: rgb(135, 112, 29);
/* oklch */ color: oklch(55.2% 0.102 92.7);
Tailwind
colors: {
  custom: {
    50: '#ae9860',
    500: '#87701d',
    950: '#000000',
  },
}
SCSS
$custom: #87701d;
$custom-light: #ae9860;
$custom-dark: #000000;
JSON
{
  "hex": "#87701d",
  "rgb": {
    "r": 135,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 46.981,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5522,
    "c": 0.10179,
    "h": 92.7
  },
  "luminance": 0.16828
}

Semantic roles & 50–950 ramp

primary
#87701D
secondary
#465FB9
accent
#65E840
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #87701D

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

Preview Lab → · Contrast checker → · Palette generator →

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