#87781D#87781D

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

Color values

HEX#87781D
RGBrgb(135, 120, 29)
HSLhsl(52, 65%, 32%)
HSVhsv(52, 79%, 53%)
CMYKcmyk(0%, 11.1%, 78.5%, 47.1%)
CIE-LABlab(50.30, -4.46, 48.53)
CIE-LCHlch(50.30, 48.74, 95.25°)
OKLaboklab(57.01% -0.0176 0.1062)
OKLCHoklch(57.01% 0.108 99.4)
XYZxyz(16.9308, 18.6734, 3.8747)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87781D #1D2C87
analogous
#87431D #87781D #61871D
triadic
#87781D #1D8778 #781D87
tetradic
#87781D #1D8743 #1D2C87 #871D61
square
#87781D #1D8743 #1D2C87 #871D61
split-complementary
#87781D #1D6187 #431D87
monochromatic
#221E07 #554B12 #87781D #B9A528 #D7C347

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87781D#FFFFFF#000000##000000
##87781D1.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)
#84750A
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#926F67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #87781d;
/* rgb */ color: rgb(135, 120, 29);
/* oklch */ color: oklch(57.0% 0.108 99.4);
Tailwind
colors: {
  custom: {
    50: '#ad9e61',
    500: '#87781d',
    950: '#000000',
  },
}
SCSS
$custom: #87781d;
$custom-light: #ad9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#87781d",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 51.509,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57007,
    "c": 0.10762,
    "h": 99.4
  },
  "luminance": 0.18673
}

Semantic roles & 50–950 ramp

primary
#87781D
secondary
#4657B9
accent
#58E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #87781D

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

Preview Lab → · Contrast checker → · Palette generator →

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