#87742B#87742B

#87742B is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.2% C 0.095 H 94.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#87742B
RGBrgb(135, 116, 43)
HSLhsl(48, 52%, 35%)
HSVhsv(48, 68%, 53%)
CMYKcmyk(0%, 14.1%, 68.1%, 47.1%)
CIE-LABlab(49.27, -1.45, 41.66)
CIE-LCHlch(49.27, 41.69, 91.99°)
OKLaboklab(56.23% -0.0074 0.0943)
OKLCHoklch(56.23% 0.095 94.5)
XYZxyz(16.6739, 17.8170, 4.8458)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87742B #2B3E87
analogous
#87462B #87742B #6C872B
triadic
#87742B #2B8774 #742B87
tetradic
#87742B #2B8746 #2B3E87 #872B6C
square
#87742B #2B8746 #2B3E87 #872B6C
split-complementary
#87742B #2B6C87 #462B87
monochromatic
#2A240D #594C1C #87742B #B59C3A #CCB660

Accessibility & contrast

On white

4.60
#87742B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#87742B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #87742B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87742B#FFFFFF#000000##FFFFFF
##87742B1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807222
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#926B65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #87742b;
/* rgb */ color: rgb(135, 116, 43);
/* oklch */ color: oklch(56.2% 0.095 94.5);
Tailwind
colors: {
  custom: {
    50: '#ad9b68',
    500: '#87742b',
    950: '#000000',
  },
}
SCSS
$custom: #87742b;
$custom-light: #ad9b68;
$custom-dark: #000000;
JSON
{
  "hex": "#87742b",
  "rgb": {
    "r": 135,
    "g": 116,
    "b": 43
  },
  "hsl": {
    "h": 47.609,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56225,
    "c": 0.09462,
    "h": 94.5
  },
  "luminance": 0.17816
}

Semantic roles & 50–950 ramp

primary
#87742B
secondary
#5B6DB2
accent
#6ADB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #87742B

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

Preview Lab → · Contrast checker → · Palette generator →

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