#87702A#87702A

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

Color values

HEX#87702A
RGBrgb(135, 112, 42)
HSLhsl(45, 53%, 35%)
HSVhsv(45, 69%, 53%)
CMYKcmyk(0%, 17%, 68.9%, 47.1%)
CIE-LABlab(48.14, 0.77, 40.93)
CIE-LCHlch(48.14, 40.94, 88.92°)
OKLaboklab(55.33% -0.0011 0.0926)
OKLCHoklch(55.33% 0.093 90.7)
XYZxyz(16.2046, 16.9073, 4.6000)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87702A #2A4187
analogous
#87412A #87702A #70872A
triadic
#87702A #2A8770 #702A87
tetradic
#87702A #2A8741 #2A4187 #872A70
square
#87702A #2A8741 #2A4187 #872A70
split-complementary
#87702A #2A7087 #412A87
monochromatic
#2A230D #58491B #87702A #B69739 #CDB25E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87702A#FFFFFF#000000##FFFFFF
##87702A1.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)
#7C6F22
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#926761
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #87702a;
/* rgb */ color: rgb(135, 112, 42);
/* oklch */ color: oklch(55.3% 0.093 90.7);
Tailwind
colors: {
  custom: {
    50: '#ad9867',
    500: '#87702a',
    950: '#000000',
  },
}
SCSS
$custom: #87702a;
$custom-light: #ad9867;
$custom-dark: #000000;
JSON
{
  "hex": "#87702a",
  "rgb": {
    "r": 135,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 45.161,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5533,
    "c": 0.09263,
    "h": 90.7
  },
  "luminance": 0.16906
}

Semantic roles & 50–950 ramp

primary
#87702A
secondary
#5A70B3
accent
#6FDC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D06
muted
#807E7A

Preview Lab

Preview with #87702A

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

Preview Lab → · Contrast checker → · Palette generator →

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