#87782F#87782F

#87782F is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.2% C 0.095 H 97.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#87782F
RGBrgb(135, 120, 47)
HSLhsl(50, 48%, 36%)
HSVhsv(50, 65%, 53%)
CMYKcmyk(0%, 11.1%, 65.2%, 47.1%)
CIE-LABlab(50.44, -3.45, 41.03)
CIE-LCHlch(50.44, 41.18, 94.80°)
OKLaboklab(57.16% -0.0126 0.0937)
OKLCHoklch(57.16% 0.095 97.7)
XYZxyz(17.2220, 18.7899, 5.4084)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87782F #2F3E87
analogous
#874C2F #87782F #6A872F
triadic
#87782F #2F8778 #782F87
tetradic
#87782F #2F874C #2F3E87 #872F6A
square
#87782F #2F874C #2F3E87 #872F6A
split-complementary
#87782F #2F6A87 #4C2F87
monochromatic
#2C270F #5A501F #87782F #B4A03F #CAB966

Accessibility & contrast

On white

4.41
#87782F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#87782F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87782F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87782F#FFFFFF#000000##000000
##87782F1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#837527
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#916F68
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #87782f;
/* rgb */ color: rgb(135, 120, 47);
/* oklch */ color: oklch(57.2% 0.095 97.7);
Tailwind
colors: {
  custom: {
    50: '#ad9e6b',
    500: '#87782f',
    950: '#000000',
  },
}
SCSS
$custom: #87782f;
$custom-light: #ad9e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#87782f",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 47
  },
  "hsl": {
    "h": 49.773,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5716,
    "c": 0.0945,
    "h": 97.7
  },
  "luminance": 0.18789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #87782F

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

Preview Lab → · Contrast checker → · Palette generator →

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