#87771A#87771A

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

Color values

HEX#87771A
RGBrgb(135, 119, 26)
HSLhsl(51, 68%, 32%)
HSVhsv(51, 81%, 53%)
CMYKcmyk(0%, 11.9%, 80.7%, 47.1%)
CIE-LABlab(50.00, -4.02, 49.31)
CIE-LCHlch(50.00, 49.48, 94.66°)
OKLaboklab(56.76% -0.0167 0.1072)
OKLCHoklch(56.76% 0.109 98.8)
XYZxyz(16.7758, 18.4200, 3.6489)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87771A #1A2A87
analogous
#87411A #87771A #61871A
triadic
#87771A #1A8777 #771A87
tetradic
#87771A #1A8741 #1A2A87 #871A61
square
#87771A #1A8741 #1A2A87 #871A61
split-complementary
#87771A #1A6187 #411A87
monochromatic
#201D06 #544A10 #87771A #BAA424 #DAC441

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87771A#FFFFFF#000000##000000
##87771A1.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)
#847403
Deuteranopia (green-blind)
#887921
Tritanopia (blue-blind)
#926D66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #87771a;
/* rgb */ color: rgb(135, 119, 26);
/* oklch */ color: oklch(56.8% 0.109 98.8);
Tailwind
colors: {
  custom: {
    50: '#ae9d5f',
    500: '#87771a',
    950: '#000000',
  },
}
SCSS
$custom: #87771a;
$custom-light: #ae9d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#87771a",
  "rgb": {
    "r": 135,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 51.193,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.10851,
    "h": 98.8
  },
  "luminance": 0.18419
}

Semantic roles & 50–950 ramp

primary
#87771A
secondary
#4254BA
accent
#57EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87771A

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

Preview Lab → · Contrast checker → · Palette generator →

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