#87732F#87732F

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

Color values

HEX#87732F
RGBrgb(135, 115, 47)
HSLhsl(46, 48%, 36%)
HSVhsv(46, 65%, 53%)
CMYKcmyk(0%, 14.8%, 65.2%, 47.1%)
CIE-LABlab(49.03, -0.61, 39.50)
CIE-LCHlch(49.03, 39.50, 90.89°)
OKLaboklab(56.05% -0.0045 0.0904)
OKLCHoklch(56.05% 0.09 92.8)
XYZxyz(16.6363, 17.6185, 5.2132)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87732F #2F4387
analogous
#87472F #87732F #6F872F
triadic
#87732F #2F8773 #732F87
tetradic
#87732F #2F8747 #2F4387 #872F6F
square
#87732F #2F8747 #2F4387 #872F6F
split-complementary
#87732F #2F6F87 #472F87
monochromatic
#2C260F #5A4C1F #87732F #B49A3F #CAB366

Accessibility & contrast

On white

4.64
#87732F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #87732F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87732F#FFFFFF#000000##FFFFFF
##87732F1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#926A64
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #87732f;
/* rgb */ color: rgb(135, 115, 47);
/* oklch */ color: oklch(56.0% 0.090 92.8);
Tailwind
colors: {
  custom: {
    50: '#ad9b6b',
    500: '#87732f',
    950: '#000000',
  },
}
SCSS
$custom: #87732f;
$custom-light: #ad9b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#87732f",
  "rgb": {
    "r": 135,
    "g": 115,
    "b": 47
  },
  "hsl": {
    "h": 46.364,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56045,
    "c": 0.09049,
    "h": 92.8
  },
  "luminance": 0.17618
}

Semantic roles & 50–950 ramp

primary
#87732F
secondary
#6173B1
accent
#6FD850
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #87732F

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

Preview Lab → · Contrast checker → · Palette generator →

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