#87731E#87731E

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

Color values

HEX#87731E
RGBrgb(135, 115, 30)
HSLhsl(49, 64%, 32%)
HSVhsv(49, 78%, 53%)
CMYKcmyk(0%, 14.8%, 77.8%, 47.1%)
CIE-LABlab(48.89, -1.59, 46.84)
CIE-LCHlch(48.89, 46.87, 91.95°)
OKLaboklab(55.89% -0.0094 0.1028)
OKLCHoklch(55.89% 0.103 95.2)
XYZxyz(16.3576, 17.5070, 3.7456)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87731E #1E3287
analogous
#873E1E #87731E #67871E
triadic
#87731E #1E8773 #731E87
tetradic
#87731E #1E873E #1E3287 #871E67
square
#87731E #1E873E #1E3287 #871E67
split-complementary
#87731E #1E6787 #3E1E87
monochromatic
#231E08 #554813 #87731E #B99E29 #D7BC49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87731E#FFFFFF#000000##FFFFFF
##87731E1.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)
#80710E
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#926963
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #87731e;
/* rgb */ color: rgb(135, 115, 30);
/* oklch */ color: oklch(55.9% 0.103 95.2);
Tailwind
colors: {
  custom: {
    50: '#ae9a61',
    500: '#87731e',
    950: '#000000',
  },
}
SCSS
$custom: #87731e;
$custom-light: #ae9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#87731e",
  "rgb": {
    "r": 135,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 48.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55892,
    "c": 0.1032,
    "h": 95.2
  },
  "luminance": 0.17506
}

Semantic roles & 50–950 ramp

primary
#87731E
secondary
#485DB9
accent
#61E741
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87731E

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

Preview Lab → · Contrast checker → · Palette generator →

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