#87702B#87702B

#87702B is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.3% C 0.092 H 90.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#87702B
RGBrgb(135, 112, 43)
HSLhsl(45, 52%, 35%)
HSVhsv(45, 68%, 53%)
CMYKcmyk(0%, 17%, 68.1%, 47.1%)
CIE-LABlab(48.15, 0.83, 40.47)
CIE-LCHlch(48.15, 40.48, 88.82°)
OKLaboklab(55.34% -0.0008 0.0918)
OKLCHoklch(55.34% 0.092 90.5)
XYZxyz(16.2227, 16.9146, 4.6954)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87702B #2B4287
analogous
#87422B #87702B #70872B
triadic
#87702B #2B8770 #702B87
tetradic
#87702B #2B8742 #2B4287 #872B70
square
#87702B #2B8742 #2B4287 #872B70
split-complementary
#87702B #2B7087 #422B87
monochromatic
#2A230D #59491C #87702B #B5973A #CCB160

Accessibility & contrast

On white

4.79
#87702B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#87702B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87702B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87702B#FFFFFF#000000##FFFFFF
##87702B1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F23
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#926761
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #87702b;
/* rgb */ color: rgb(135, 112, 43);
/* oklch */ color: oklch(55.3% 0.092 90.5);
Tailwind
colors: {
  custom: {
    50: '#ad9868',
    500: '#87702b',
    950: '#000000',
  },
}
SCSS
$custom: #87702b;
$custom-light: #ad9868;
$custom-dark: #000000;
JSON
{
  "hex": "#87702b",
  "rgb": {
    "r": 135,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 45,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5534,
    "c": 0.09181,
    "h": 90.5
  },
  "luminance": 0.16914
}

Semantic roles & 50–950 ramp

primary
#87702B
secondary
#5B71B2
accent
#70DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D06
muted
#807E7A

Preview Lab

Preview with #87702B

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

Preview Lab → · Contrast checker → · Palette generator →

#87702B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva