#87721C#87721C

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

Color values

HEX#87721C
RGBrgb(135, 114, 28)
HSLhsl(48, 66%, 32%)
HSVhsv(48, 79%, 53%)
CMYKcmyk(0%, 15.6%, 79.3%, 47.1%)
CIE-LABlab(48.60, -1.11, 47.32)
CIE-LCHlch(48.60, 47.33, 91.34°)
OKLaboklab(55.66% -0.0082 0.1034)
OKLCHoklch(55.66% 0.104 94.5)
XYZxyz(16.2195, 17.2703, 3.5776)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87721C #1C3187
analogous
#873C1C #87721C #67871C
triadic
#87721C #1C8772 #721C87
tetradic
#87721C #1C873C #1C3187 #871C67
square
#87721C #1C873C #1C3187 #871C67
split-complementary
#87721C #1C6787 #3C1C87
monochromatic
#221C07 #544711 #87721C #BA9D27 #D8BB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87721C#FFFFFF#000000##FFFFFF
##87721C1.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)
#7F700A
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#926862
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #87721c;
/* rgb */ color: rgb(135, 114, 28);
/* oklch */ color: oklch(55.7% 0.104 94.5);
Tailwind
colors: {
  custom: {
    50: '#ae9a60',
    500: '#87721c',
    950: '#000000',
  },
}
SCSS
$custom: #87721c;
$custom-light: #ae9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#87721c",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 28
  },
  "hsl": {
    "h": 48.224,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55656,
    "c": 0.1037,
    "h": 94.5
  },
  "luminance": 0.17269
}

Semantic roles & 50–950 ramp

primary
#87721C
secondary
#455CBA
accent
#60E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87721C

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

Preview Lab → · Contrast checker → · Palette generator →

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