#87781B#87781B

#87781B is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.0% C 0.109 H 99.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#87781B
RGBrgb(135, 120, 27)
HSLhsl(52, 67%, 32%)
HSVhsv(52, 80%, 53%)
CMYKcmyk(0%, 11.1%, 80%, 47.1%)
CIE-LABlab(50.29, -4.54, 49.23)
CIE-LCHlch(50.29, 49.44, 95.27°)
OKLaboklab(57% -0.018 0.1073)
OKLCHoklch(57% 0.109 99.5)
XYZxyz(16.9068, 18.6638, 3.7486)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87781B #1B2A87
analogous
#87421B #87781B #60871B
triadic
#87781B #1B8778 #781B87
tetradic
#87781B #1B8742 #1B2A87 #871B60
square
#87781B #1B8742 #1B2A87 #871B60
split-complementary
#87781B #1B6087 #421B87
monochromatic
#211D07 #544B11 #87781B #BAA525 #D9C543

Accessibility & contrast

On white

4.44
#87781B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#87781B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87781B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87781B#FFFFFF#000000##000000
##87781B1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847505
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#926F67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #87781b;
/* rgb */ color: rgb(135, 120, 27);
/* oklch */ color: oklch(57.0% 0.109 99.5);
Tailwind
colors: {
  custom: {
    50: '#ae9e60',
    500: '#87781b',
    950: '#000000',
  },
}
SCSS
$custom: #87781b;
$custom-light: #ae9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#87781b",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 51.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56995,
    "c": 0.10876,
    "h": 99.5
  },
  "luminance": 0.18663
}

Semantic roles & 50–950 ramp

primary
#87781B
secondary
#4454BA
accent
#56EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87781B

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

Preview Lab → · Contrast checker → · Palette generator →

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