#87771F#87771F

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

Color values

HEX#87771F
RGBrgb(135, 119, 31)
HSLhsl(51, 63%, 33%)
HSVhsv(51, 77%, 53%)
CMYKcmyk(0%, 11.9%, 77%, 47.1%)
CIE-LABlab(50.03, -3.81, 47.53)
CIE-LCHlch(50.03, 47.68, 94.58°)
OKLaboklab(56.8% -0.0155 0.1045)
OKLCHoklch(56.8% 0.106 98.5)
XYZxyz(16.8367, 18.4443, 3.9693)
Luminance0.1844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87771F #1F2F87
analogous
#87431F #87771F #63871F
triadic
#87771F #1F8777 #771F87
tetradic
#87771F #1F8743 #1F2F87 #871F63
square
#87771F #1F8743 #1F2F87 #871F63
split-complementary
#87771F #1F6387 #431F87
monochromatic
#231F08 #554B14 #87771F #B9A32A #D6C04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87771F#FFFFFF#000000##000000
##87771F1.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)
#83740F
Deuteranopia (green-blind)
#887925
Tritanopia (blue-blind)
#926E66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #87771f;
/* rgb */ color: rgb(135, 119, 31);
/* oklch */ color: oklch(56.8% 0.106 98.5);
Tailwind
colors: {
  custom: {
    50: '#ad9d62',
    500: '#87771f',
    950: '#000000',
  },
}
SCSS
$custom: #87771f;
$custom-light: #ad9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#87771f",
  "rgb": {
    "r": 135,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 50.769,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56796,
    "c": 0.10561,
    "h": 98.5
  },
  "luminance": 0.18443
}

Semantic roles & 50–950 ramp

primary
#87771F
secondary
#4A5BB8
accent
#5BE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #87771F

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

Preview Lab → · Contrast checker → · Palette generator →

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