#87772D#87772D

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

Color values

HEX#87772D
RGBrgb(135, 119, 45)
HSLhsl(49, 50%, 35%)
HSVhsv(49, 67%, 53%)
CMYKcmyk(0%, 11.9%, 66.7%, 47.1%)
CIE-LABlab(50.14, -3.02, 41.65)
CIE-LCHlch(50.14, 41.76, 94.15°)
OKLaboklab(56.92% -0.0116 0.0946)
OKLCHoklch(56.92% 0.095 97)
XYZxyz(17.0629, 18.5348, 5.1609)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87772D #2D3D87
analogous
#874A2D #87772D #6A872D
triadic
#87772D #2D8777 #772D87
tetradic
#87772D #2D874A #2D3D87 #872D6A
square
#87772D #2D874A #2D3D87 #872D6A
split-complementary
#87772D #2D6A87 #4A2D87
monochromatic
#2B260E #594F1E #87772D #B59F3C #CBB963

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87772D#FFFFFF#000000##000000
##87772D1.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)
#837424
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#926E67
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #87772d;
/* rgb */ color: rgb(135, 119, 45);
/* oklch */ color: oklch(56.9% 0.095 97.0);
Tailwind
colors: {
  custom: {
    50: '#ad9e6a',
    500: '#87772d',
    950: '#000000',
  },
}
SCSS
$custom: #87772d;
$custom-light: #ad9e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#87772d",
  "rgb": {
    "r": 135,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 49.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.09535,
    "h": 97
  },
  "luminance": 0.18534
}

Semantic roles & 50–950 ramp

primary
#87772D
secondary
#5E6DB2
accent
#67DA4E
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #87772D

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

Preview Lab → · Contrast checker → · Palette generator →

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