#87771E#87771E

#87771E 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#87771E
RGBrgb(135, 119, 30)
HSLhsl(51, 64%, 32%)
HSVhsv(51, 78%, 53%)
CMYKcmyk(0%, 11.9%, 77.8%, 47.1%)
CIE-LABlab(50.02, -3.85, 47.90)
CIE-LCHlch(50.02, 48.06, 94.60°)
OKLaboklab(56.79% -0.0158 0.105)
OKLCHoklch(56.79% 0.106 98.5)
XYZxyz(16.8237, 18.4391, 3.9010)
Luminance0.1844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87771E #1E2E87
analogous
#87421E #87771E #63871E
triadic
#87771E #1E8777 #771E87
tetradic
#87771E #1E8742 #1E2E87 #871E63
square
#87771E #1E8742 #1E2E87 #871E63
split-complementary
#87771E #1E6387 #421E87
monochromatic
#231F08 #554B13 #87771E #B9A329 #D7C149

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #87771e;
/* rgb */ color: rgb(135, 119, 30);
/* oklch */ color: oklch(56.8% 0.106 98.5);
Tailwind
colors: {
  custom: {
    50: '#ad9d61',
    500: '#87771e',
    950: '#000000',
  },
}
SCSS
$custom: #87771e;
$custom-light: #ad9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#87771e",
  "rgb": {
    "r": 135,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 50.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56789,
    "c": 0.10622,
    "h": 98.5
  },
  "luminance": 0.18438
}

Semantic roles & 50–950 ramp

primary
#87771E
secondary
#4859B9
accent
#5AE741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #87771E

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

Preview Lab → · Contrast checker → · Palette generator →

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