#87771D#87771D

#87771D is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.8% C 0.107 H 98.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#87771D
RGBrgb(135, 119, 29)
HSLhsl(51, 65%, 32%)
HSVhsv(51, 79%, 53%)
CMYKcmyk(0%, 11.9%, 78.5%, 47.1%)
CIE-LABlab(50.02, -3.90, 48.27)
CIE-LCHlch(50.02, 48.42, 94.62°)
OKLaboklab(56.78% -0.016 0.1056)
OKLCHoklch(56.78% 0.107 98.6)
XYZxyz(16.8111, 18.4341, 3.8348)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87771D #1D2D87
analogous
#87421D #87771D #62871D
triadic
#87771D #1D8777 #771D87
tetradic
#87771D #1D8742 #1D2D87 #871D62
square
#87771D #1D8742 #1D2D87 #871D62
split-complementary
#87771D #1D6287 #421D87
monochromatic
#221E07 #554B12 #87771D #B9A328 #D7C247

Accessibility & contrast

On white

4.48
#87771D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#87771D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87771D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87771D#FFFFFF#000000##000000
##87771D1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83740A
Deuteranopia (green-blind)
#887923
Tritanopia (blue-blind)
#926E66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #87771d;
/* rgb */ color: rgb(135, 119, 29);
/* oklch */ color: oklch(56.8% 0.107 98.6);
Tailwind
colors: {
  custom: {
    50: '#ae9d61',
    500: '#87771d',
    950: '#000000',
  },
}
SCSS
$custom: #87771d;
$custom-light: #ae9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#87771d",
  "rgb": {
    "r": 135,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 50.943,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56782,
    "c": 0.10682,
    "h": 98.6
  },
  "luminance": 0.18433
}

Semantic roles & 50–950 ramp

primary
#87771D
secondary
#4658B9
accent
#59E840
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87771D

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

Preview Lab → · Contrast checker → · Palette generator →

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