#87721A#87721A

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

Color values

HEX#87721A
RGBrgb(135, 114, 26)
HSLhsl(48, 68%, 32%)
HSVhsv(48, 81%, 53%)
CMYKcmyk(0%, 15.6%, 80.7%, 47.1%)
CIE-LABlab(48.59, -1.19, 48.04)
CIE-LCHlch(48.59, 48.05, 91.42°)
OKLaboklab(55.64% -0.0087 0.1045)
OKLCHoklch(55.64% 0.105 94.7)
XYZxyz(16.1963, 17.2610, 3.4557)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87721A #1A2F87
analogous
#873B1A #87721A #66871A
triadic
#87721A #1A8772 #721A87
tetradic
#87721A #1A873B #1A2F87 #871A66
square
#87721A #1A873B #1A2F87 #871A66
split-complementary
#87721A #1A6687 #3B1A87
monochromatic
#201B06 #544710 #87721A #BA9D24 #DABD41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87721A#FFFFFF#000000##FFFFFF
##87721A1.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)
#7F7006
Deuteranopia (green-blind)
#847620
Tritanopia (blue-blind)
#926861
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #87721a;
/* rgb */ color: rgb(135, 114, 26);
/* oklch */ color: oklch(55.6% 0.105 94.7);
Tailwind
colors: {
  custom: {
    50: '#ae9a5f',
    500: '#87721a',
    950: '#000000',
  },
}
SCSS
$custom: #87721a;
$custom-light: #ae9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#87721a",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 26
  },
  "hsl": {
    "h": 48.44,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55643,
    "c": 0.10483,
    "h": 94.7
  },
  "luminance": 0.1726
}

Semantic roles & 50–950 ramp

primary
#87721A
secondary
#425ABA
accent
#5FEB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87721A

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

Preview Lab → · Contrast checker → · Palette generator →

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