#87782B#87782B

#87782B is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.1% C 0.098 H 98.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#87782B
RGBrgb(135, 120, 43)
HSLhsl(50, 52%, 35%)
HSVhsv(50, 68%, 53%)
CMYKcmyk(0%, 11.1%, 68.1%, 47.1%)
CIE-LABlab(50.40, -3.71, 42.86)
CIE-LCHlch(50.40, 43.02, 94.95°)
OKLaboklab(57.12% -0.0139 0.0969)
OKLCHoklch(57.12% 0.098 98.2)
XYZxyz(17.1450, 18.7591, 5.0028)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87782B #2B3A87
analogous
#874A2B #87782B #68872B
triadic
#87782B #2B8778 #782B87
tetradic
#87782B #2B874A #2B3A87 #872B68
square
#87782B #2B874A #2B3A87 #872B68
split-complementary
#87782B #2B6887 #4A2B87
monochromatic
#2A250D #594F1C #87782B #B5A13A #CCBB60

Accessibility & contrast

On white

4.42
#87782B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#87782B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87782B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87782B#FFFFFF#000000##000000
##87782B1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#847521
Deuteranopia (green-blind)
#887A2F
Tritanopia (blue-blind)
#926F68
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #87782b;
/* rgb */ color: rgb(135, 120, 43);
/* oklch */ color: oklch(57.1% 0.098 98.2);
Tailwind
colors: {
  custom: {
    50: '#ad9e69',
    500: '#87782b',
    950: '#000000',
  },
}
SCSS
$custom: #87782b;
$custom-light: #ad9e69;
$custom-dark: #000000;
JSON
{
  "hex": "#87782b",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 43
  },
  "hsl": {
    "h": 50.217,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5712,
    "c": 0.09785,
    "h": 98.2
  },
  "luminance": 0.18758
}

Semantic roles & 50–950 ramp

primary
#87782B
secondary
#5B6AB2
accent
#64DB4D
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #87782B

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

Preview Lab → · Contrast checker → · Palette generator →

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