#87721B#87721B

#87721B is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.6% C 0.104 H 94.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#87721B
RGBrgb(135, 114, 27)
HSLhsl(48, 67%, 32%)
HSVhsv(48, 80%, 53%)
CMYKcmyk(0%, 15.6%, 80%, 47.1%)
CIE-LABlab(48.59, -1.15, 47.68)
CIE-LCHlch(48.59, 47.70, 91.38°)
OKLaboklab(55.65% -0.0084 0.1039)
OKLCHoklch(55.65% 0.104 94.6)
XYZxyz(16.2077, 17.2656, 3.5156)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87721B #1B3087
analogous
#873C1B #87721B #66871B
triadic
#87721B #1B8772 #721B87
tetradic
#87721B #1B873C #1B3087 #871B66
square
#87721B #1B873C #1B3087 #871B66
split-complementary
#87721B #1B6687 #3C1B87
monochromatic
#211C07 #544711 #87721B #BA9D25 #D9BC43

Accessibility & contrast

On white

4.72
#87721B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#87721B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87721B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87721B#FFFFFF#000000##FFFFFF
##87721B1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7008
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#926861
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #87721b;
/* rgb */ color: rgb(135, 114, 27);
/* oklch */ color: oklch(55.6% 0.104 94.6);
Tailwind
colors: {
  custom: {
    50: '#ae9a5f',
    500: '#87721b',
    950: '#000000',
  },
}
SCSS
$custom: #87721b;
$custom-light: #ae9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#87721b",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 27
  },
  "hsl": {
    "h": 48.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5565,
    "c": 0.10427,
    "h": 94.6
  },
  "luminance": 0.17265
}

Semantic roles & 50–950 ramp

primary
#87721B
secondary
#445BBA
accent
#60EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87721B

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

Preview Lab → · Contrast checker → · Palette generator →

#87721B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva