#87771B#87771B

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

Color values

HEX#87771B
RGBrgb(135, 119, 27)
HSLhsl(51, 67%, 32%)
HSVhsv(51, 80%, 53%)
CMYKcmyk(0%, 11.9%, 80%, 47.1%)
CIE-LABlab(50.01, -3.98, 48.97)
CIE-LCHlch(50.01, 49.13, 94.65°)
OKLaboklab(56.77% -0.0165 0.1067)
OKLCHoklch(56.77% 0.108 98.8)
XYZxyz(16.7872, 18.4245, 3.7088)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87771B #1B2B87
analogous
#87411B #87771B #61871B
triadic
#87771B #1B8777 #771B87
tetradic
#87771B #1B8741 #1B2B87 #871B61
square
#87771B #1B8741 #1B2B87 #871B61
split-complementary
#87771B #1B6187 #411B87
monochromatic
#211D07 #544A11 #87771B #BAA425 #D9C343

Accessibility & contrast

On white

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

On black

4.68
#87771B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87771B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87771B#FFFFFF#000000##000000
##87771B1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#837406
Deuteranopia (green-blind)
#887922
Tritanopia (blue-blind)
#926D66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #87771b;
/* rgb */ color: rgb(135, 119, 27);
/* oklch */ color: oklch(56.8% 0.108 98.8);
Tailwind
colors: {
  custom: {
    50: '#ae9d60',
    500: '#87771b',
    950: '#000000',
  },
}
SCSS
$custom: #87771b;
$custom-light: #ae9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#87771b",
  "rgb": {
    "r": 135,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 51.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56769,
    "c": 0.10796,
    "h": 98.8
  },
  "luminance": 0.18424
}

Semantic roles & 50–950 ramp

primary
#87771B
secondary
#4455BA
accent
#58EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87771B

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

Preview Lab → · Contrast checker → · Palette generator →

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