#87772B#87772B

#87772B is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.9% C 0.097 H 97.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#87772B
RGBrgb(135, 119, 43)
HSLhsl(50, 52%, 35%)
HSVhsv(50, 68%, 53%)
CMYKcmyk(0%, 11.9%, 68.1%, 47.1%)
CIE-LABlab(50.12, -3.15, 42.56)
CIE-LCHlch(50.12, 42.68, 94.23°)
OKLaboklab(56.9% -0.0123 0.0962)
OKLCHoklch(56.9% 0.097 97.3)
XYZxyz(17.0253, 18.5198, 4.9629)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87772B #2B3B87
analogous
#87492B #87772B #69872B
triadic
#87772B #2B8777 #772B87
tetradic
#87772B #2B8749 #2B3B87 #872B69
square
#87772B #2B8749 #2B3B87 #872B69
split-complementary
#87772B #2B6987 #492B87
monochromatic
#2A250D #594E1C #87772B #B5A03A #CCBA60

Accessibility & contrast

On white

4.46
#87772B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#87772B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87772B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87772B#FFFFFF#000000##000000
##87772B1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#926E67
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #87772b;
/* rgb */ color: rgb(135, 119, 43);
/* oklch */ color: oklch(56.9% 0.097 97.3);
Tailwind
colors: {
  custom: {
    50: '#ad9d68',
    500: '#87772b',
    950: '#000000',
  },
}
SCSS
$custom: #87772b;
$custom-light: #ad9d68;
$custom-dark: #000000;
JSON
{
  "hex": "#87772b",
  "rgb": {
    "r": 135,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 49.565,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56895,
    "c": 0.09701,
    "h": 97.3
  },
  "luminance": 0.18519
}

Semantic roles & 50–950 ramp

primary
#87772B
secondary
#5B6BB2
accent
#65DB4D
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #87772B

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

Preview Lab → · Contrast checker → · Palette generator →

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