#87772A#87772A

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

Color values

HEX#87772A
RGBrgb(135, 119, 42)
HSLhsl(50, 53%, 35%)
HSVhsv(50, 69%, 53%)
CMYKcmyk(0%, 11.9%, 68.9%, 47.1%)
CIE-LABlab(50.11, -3.21, 43.00)
CIE-LCHlch(50.11, 43.12, 94.27°)
OKLaboklab(56.89% -0.0126 0.097)
OKLCHoklch(56.89% 0.098 97.4)
XYZxyz(17.0072, 18.5125, 4.8675)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87772A #2A3A87
analogous
#87482A #87772A #69872A
triadic
#87772A #2A8777 #772A87
tetradic
#87772A #2A8748 #2A3A87 #872A69
square
#87772A #2A8748 #2A3A87 #872A69
split-complementary
#87772A #2A6987 #482A87
monochromatic
#2A250D #584E1B #87772A #B6A039 #CDBA5E

Accessibility & contrast

On white

4.47
#87772A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##87772A#FFFFFF#000000##000000
##87772A1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87772a;
/* rgb */ color: rgb(135, 119, 42);
/* oklch */ color: oklch(56.9% 0.098 97.4);
Tailwind
colors: {
  custom: {
    50: '#ad9d68',
    500: '#87772a',
    950: '#000000',
  },
}
SCSS
$custom: #87772a;
$custom-light: #ad9d68;
$custom-dark: #000000;
JSON
{
  "hex": "#87772a",
  "rgb": {
    "r": 135,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 49.677,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56886,
    "c": 0.09781,
    "h": 97.4
  },
  "luminance": 0.18512
}

Semantic roles & 50–950 ramp

primary
#87772A
secondary
#5A69B3
accent
#65DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #87772A

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

Preview Lab → · Contrast checker → · Palette generator →

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