#87772F#87772F

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

Color values

HEX#87772F
RGBrgb(135, 119, 47)
HSLhsl(49, 48%, 36%)
HSVhsv(49, 65%, 53%)
CMYKcmyk(0%, 11.9%, 65.2%, 47.1%)
CIE-LABlab(50.16, -2.88, 40.73)
CIE-LCHlch(50.16, 40.83, 94.05°)
OKLaboklab(56.94% -0.011 0.093)
OKLCHoklch(56.94% 0.094 96.7)
XYZxyz(17.1023, 18.5506, 5.3686)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87772F #2F3F87
analogous
#874B2F #87772F #6B872F
triadic
#87772F #2F8777 #772F87
tetradic
#87772F #2F874B #2F3F87 #872F6B
square
#87772F #2F874B #2F3F87 #872F6B
split-complementary
#87772F #2F6B87 #4B2F87
monochromatic
#2C270F #5A4F1F #87772F #B49F3F #CAB866

Accessibility & contrast

On white

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

On black

4.71
#87772F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87772F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87772F#FFFFFF#000000##000000
##87772F1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#837427
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#916E68
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #87772f;
/* rgb */ color: rgb(135, 119, 47);
/* oklch */ color: oklch(56.9% 0.094 96.7);
Tailwind
colors: {
  custom: {
    50: '#ad9e6b',
    500: '#87772f',
    950: '#000000',
  },
}
SCSS
$custom: #87772f;
$custom-light: #ad9e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#87772f",
  "rgb": {
    "r": 135,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 49.091,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56936,
    "c": 0.09365,
    "h": 96.7
  },
  "luminance": 0.1855
}

Semantic roles & 50–950 ramp

primary
#87772F
secondary
#616FB1
accent
#69D850
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #87772F

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

Preview Lab → · Contrast checker → · Palette generator →

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