#87781F#87781F

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

Color values

HEX#87781F
RGBrgb(135, 120, 31)
HSLhsl(51, 63%, 33%)
HSVhsv(51, 77%, 53%)
CMYKcmyk(0%, 11.1%, 77%, 47.1%)
CIE-LABlab(50.31, -4.37, 47.80)
CIE-LCHlch(50.31, 48.00, 95.22°)
OKLaboklab(57.02% -0.0171 0.105)
OKLCHoklch(57.02% 0.106 99.3)
XYZxyz(16.9563, 18.6836, 4.0092)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87781F #1F2E87
analogous
#87441F #87781F #62871F
triadic
#87781F #1F8778 #781F87
tetradic
#87781F #1F8744 #1F2E87 #871F62
square
#87781F #1F8744 #1F2E87 #871F62
split-complementary
#87781F #1F6287 #441F87
monochromatic
#232008 #554C14 #87781F #B9A42A #D6C24B

Accessibility & contrast

On white

4.43
#87781F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#87781F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87781F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87781F#FFFFFF#000000##000000
##87781F1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84750E
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#926F67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #87781f;
/* rgb */ color: rgb(135, 120, 31);
/* oklch */ color: oklch(57.0% 0.106 99.3);
Tailwind
colors: {
  custom: {
    50: '#ad9e62',
    500: '#87781f',
    950: '#000000',
  },
}
SCSS
$custom: #87781f;
$custom-light: #ad9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#87781f",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 51.346,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57021,
    "c": 0.10642,
    "h": 99.3
  },
  "luminance": 0.18683
}

Semantic roles & 50–950 ramp

primary
#87781F
secondary
#4A5AB8
accent
#5AE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #87781F

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

Preview Lab → · Contrast checker → · Palette generator →

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