#87731C#87731C

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

Color values

HEX#87731C
RGBrgb(135, 115, 28)
HSLhsl(49, 66%, 32%)
HSVhsv(49, 79%, 53%)
CMYKcmyk(0%, 14.8%, 79.3%, 47.1%)
CIE-LABlab(48.88, -1.68, 47.58)
CIE-LCHlch(48.88, 47.61, 92.02°)
OKLaboklab(55.88% -0.0098 0.1039)
OKLCHoklch(55.88% 0.104 95.4)
XYZxyz(16.3329, 17.4971, 3.6154)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87731C #1C3087
analogous
#873E1C #87731C #66871C
triadic
#87731C #1C8773 #731C87
tetradic
#87731C #1C873E #1C3087 #871C66
square
#87731C #1C873E #1C3087 #871C66
split-complementary
#87731C #1C6687 #3E1C87
monochromatic
#221D07 #544811 #87731C #BA9E27 #D8BD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87731C#FFFFFF#000000##FFFFFF
##87731C1.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)
#80710A
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#926962
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #87731c;
/* rgb */ color: rgb(135, 115, 28);
/* oklch */ color: oklch(55.9% 0.104 95.4);
Tailwind
colors: {
  custom: {
    50: '#ae9a60',
    500: '#87731c',
    950: '#000000',
  },
}
SCSS
$custom: #87731c;
$custom-light: #ae9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#87731c",
  "rgb": {
    "r": 135,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 48.785,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55879,
    "c": 0.10439,
    "h": 95.4
  },
  "luminance": 0.17496
}

Semantic roles & 50–950 ramp

primary
#87731C
secondary
#455BBA
accent
#5FE93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87731C

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

Preview Lab → · Contrast checker → · Palette generator →

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