#87732B#87732B

#87732B is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 56.0% C 0.094 H 93.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#87732B
RGBrgb(135, 115, 43)
HSLhsl(47, 52%, 35%)
HSVhsv(47, 68%, 53%)
CMYKcmyk(0%, 14.8%, 68.1%, 47.1%)
CIE-LABlab(48.99, -0.88, 41.37)
CIE-LCHlch(48.99, 41.38, 91.22°)
OKLaboklab(56% -0.0058 0.0937)
OKLCHoklch(56% 0.094 93.5)
XYZxyz(16.5593, 17.5877, 4.8076)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87732B #2B3F87
analogous
#87452B #87732B #6D872B
triadic
#87732B #2B8773 #732B87
tetradic
#87732B #2B8745 #2B3F87 #872B6D
square
#87732B #2B8745 #2B3F87 #872B6D
split-complementary
#87732B #2B6D87 #452B87
monochromatic
#2A240D #594B1C #87732B #B59B3A #CCB560

Accessibility & contrast

On white

4.65
#87732B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#87732B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #87732B
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87732B#FFFFFF#000000##FFFFFF
##87732B1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7122
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#926A64
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #87732b;
/* rgb */ color: rgb(135, 115, 43);
/* oklch */ color: oklch(56.0% 0.094 93.5);
Tailwind
colors: {
  custom: {
    50: '#ad9b68',
    500: '#87732b',
    950: '#000000',
  },
}
SCSS
$custom: #87732b;
$custom-light: #ad9b68;
$custom-dark: #000000;
JSON
{
  "hex": "#87732b",
  "rgb": {
    "r": 135,
    "g": 115,
    "b": 43
  },
  "hsl": {
    "h": 46.957,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56003,
    "c": 0.09388,
    "h": 93.5
  },
  "luminance": 0.17587
}

Semantic roles & 50–950 ramp

primary
#87732B
secondary
#5B6EB2
accent
#6CDB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #87732B

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

Preview Lab → · Contrast checker → · Palette generator →

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