#87771C#87771C

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

Color values

HEX#87771C
RGBrgb(135, 119, 28)
HSLhsl(51, 66%, 32%)
HSVhsv(51, 79%, 53%)
CMYKcmyk(0%, 11.9%, 79.3%, 47.1%)
CIE-LABlab(50.01, -3.94, 48.62)
CIE-LCHlch(50.01, 48.78, 94.63°)
OKLaboklab(56.78% -0.0162 0.1062)
OKLCHoklch(56.78% 0.107 98.7)
XYZxyz(16.7990, 18.4292, 3.7707)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87771C #1C2C87
analogous
#87421C #87771C #62871C
triadic
#87771C #1C8777 #771C87
tetradic
#87771C #1C8742 #1C2C87 #871C62
square
#87771C #1C8742 #1C2C87 #871C62
split-complementary
#87771C #1C6287 #421C87
monochromatic
#221E07 #544A11 #87771C #BAA427 #D8C245

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87771C#FFFFFF#000000##000000
##87771C1.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)
#837408
Deuteranopia (green-blind)
#887922
Tritanopia (blue-blind)
#926E66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #87771c;
/* rgb */ color: rgb(135, 119, 28);
/* oklch */ color: oklch(56.8% 0.107 98.7);
Tailwind
colors: {
  custom: {
    50: '#ae9d60',
    500: '#87771c',
    950: '#000000',
  },
}
SCSS
$custom: #87771c;
$custom-light: #ae9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#87771c",
  "rgb": {
    "r": 135,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 51.028,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56776,
    "c": 0.10739,
    "h": 98.7
  },
  "luminance": 0.18428
}

Semantic roles & 50–950 ramp

primary
#87771C
secondary
#4556BA
accent
#59E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87771C

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

Preview Lab → · Contrast checker → · Palette generator →

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