#87731D#87731D

#87731D is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.9% C 0.104 H 95.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#87731D
RGBrgb(135, 115, 29)
HSLhsl(49, 65%, 32%)
HSVhsv(49, 79%, 53%)
CMYKcmyk(0%, 14.8%, 78.5%, 47.1%)
CIE-LABlab(48.89, -1.63, 47.21)
CIE-LCHlch(48.89, 47.24, 91.98°)
OKLaboklab(55.89% -0.0096 0.1034)
OKLCHoklch(55.89% 0.104 95.3)
XYZxyz(16.3451, 17.5020, 3.6795)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87731D #1D3187
analogous
#873E1D #87731D #66871D
triadic
#87731D #1D8773 #731D87
tetradic
#87731D #1D873E #1D3187 #871D66
square
#87731D #1D873E #1D3187 #871D66
split-complementary
#87731D #1D6687 #3E1D87
monochromatic
#221D07 #554812 #87731D #B99E28 #D7BC47

Accessibility & contrast

On white

4.67
#87731D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#87731D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #87731D
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87731D#FFFFFF#000000##FFFFFF
##87731D1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#926962
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #87731d;
/* rgb */ color: rgb(135, 115, 29);
/* oklch */ color: oklch(55.9% 0.104 95.3);
Tailwind
colors: {
  custom: {
    50: '#ae9a60',
    500: '#87731d',
    950: '#000000',
  },
}
SCSS
$custom: #87731d;
$custom-light: #ae9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#87731d",
  "rgb": {
    "r": 135,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 48.679,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55886,
    "c": 0.1038,
    "h": 95.3
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#87731D
secondary
#465CB9
accent
#60E840
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87731D

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

Preview Lab → · Contrast checker → · Palette generator →

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