#87721F#87721F

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

Color values

HEX#87721F
RGBrgb(135, 114, 31)
HSLhsl(48, 63%, 33%)
HSVhsv(48, 77%, 53%)
CMYKcmyk(0%, 15.6%, 77%, 47.1%)
CIE-LABlab(48.62, -0.98, 46.19)
CIE-LCHlch(48.62, 46.20, 91.21°)
OKLaboklab(55.68% -0.0075 0.1016)
OKLCHoklch(55.68% 0.102 94.2)
XYZxyz(16.2572, 17.2854, 3.7762)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87721F #1F3487
analogous
#873E1F #87721F #68871F
triadic
#87721F #1F8772 #721F87
tetradic
#87721F #1F873E #1F3487 #871F68
square
#87721F #1F873E #1F3487 #871F68
split-complementary
#87721F #1F6887 #3E1F87
monochromatic
#231E08 #554814 #87721F #B99C2A #D6BA4B

Accessibility & contrast

On white

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

On black

4.46
#87721F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##87721F#FFFFFF#000000##FFFFFF
##87721F1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87721f;
/* rgb */ color: rgb(135, 114, 31);
/* oklch */ color: oklch(55.7% 0.102 94.2);
Tailwind
colors: {
  custom: {
    50: '#ae9a61',
    500: '#87721f',
    950: '#000000',
  },
}
SCSS
$custom: #87721f;
$custom-light: #ae9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#87721f",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 31
  },
  "hsl": {
    "h": 47.885,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55677,
    "c": 0.10188,
    "h": 94.2
  },
  "luminance": 0.17284
}

Semantic roles & 50–950 ramp

primary
#87721F
secondary
#4A60B8
accent
#63E642
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87721F

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

Preview Lab → · Contrast checker → · Palette generator →

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