#87721D#87721D

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

Color values

HEX#87721D
RGBrgb(135, 114, 29)
HSLhsl(48, 65%, 32%)
HSVhsv(48, 79%, 53%)
CMYKcmyk(0%, 15.6%, 78.5%, 47.1%)
CIE-LABlab(48.60, -1.07, 46.95)
CIE-LCHlch(48.60, 46.96, 91.30°)
OKLaboklab(55.66% -0.008 0.1028)
OKLCHoklch(55.66% 0.103 94.4)
XYZxyz(16.2316, 17.2752, 3.6417)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87721D #1D3287
analogous
#873D1D #87721D #67871D
triadic
#87721D #1D8772 #721D87
tetradic
#87721D #1D873D #1D3287 #871D67
square
#87721D #1D873D #1D3287 #871D67
split-complementary
#87721D #1D6787 #3D1D87
monochromatic
#221D07 #554712 #87721D #B99D28 #D7BB47

Accessibility & contrast

On white

4.71
#87721D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #87721D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87721D#FFFFFF#000000##FFFFFF
##87721D1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700D
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#926862
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #87721d;
/* rgb */ color: rgb(135, 114, 29);
/* oklch */ color: oklch(55.7% 0.103 94.4);
Tailwind
colors: {
  custom: {
    50: '#ae9a60',
    500: '#87721d',
    950: '#000000',
  },
}
SCSS
$custom: #87721d;
$custom-light: #ae9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#87721d",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 29
  },
  "hsl": {
    "h": 48.113,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55663,
    "c": 0.10311,
    "h": 94.4
  },
  "luminance": 0.17274
}

Semantic roles & 50–950 ramp

primary
#87721D
secondary
#465DB9
accent
#61E840
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87721D

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

Preview Lab → · Contrast checker → · Palette generator →

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