#87732D#87732D

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

Color values

HEX#87732D
RGBrgb(135, 115, 45)
HSLhsl(47, 50%, 35%)
HSVhsv(47, 67%, 53%)
CMYKcmyk(0%, 14.8%, 66.7%, 47.1%)
CIE-LABlab(49.01, -0.75, 40.44)
CIE-LCHlch(49.01, 40.45, 91.06°)
OKLaboklab(56.02% -0.0051 0.0921)
OKLCHoklch(56.02% 0.092 93.2)
XYZxyz(16.5969, 17.6027, 5.0056)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87732D #2D4187
analogous
#87462D #87732D #6E872D
triadic
#87732D #2D8773 #732D87
tetradic
#87732D #2D8746 #2D4187 #872D6E
square
#87732D #2D8746 #2D4187 #872D6E
split-complementary
#87732D #2D6E87 #462D87
monochromatic
#2B250E #594C1E #87732D #B59A3C #CBB463

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87732D#FFFFFF#000000##FFFFFF
##87732D1.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)
#7F7125
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#926A64
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #87732d;
/* rgb */ color: rgb(135, 115, 45);
/* oklch */ color: oklch(56.0% 0.092 93.2);
Tailwind
colors: {
  custom: {
    50: '#ad9b69',
    500: '#87732d',
    950: '#000000',
  },
}
SCSS
$custom: #87732d;
$custom-light: #ad9b69;
$custom-dark: #000000;
JSON
{
  "hex": "#87732d",
  "rgb": {
    "r": 135,
    "g": 115,
    "b": 45
  },
  "hsl": {
    "h": 46.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56023,
    "c": 0.09221,
    "h": 93.2
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#87732D
secondary
#5E71B2
accent
#6DDA4E
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #87732D

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

Preview Lab → · Contrast checker → · Palette generator →

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