#87782A#87782A

#87782A is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.1% C 0.099 H 98.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#87782A
RGBrgb(135, 120, 42)
HSLhsl(50, 53%, 35%)
HSVhsv(50, 69%, 53%)
CMYKcmyk(0%, 11.1%, 68.9%, 47.1%)
CIE-LABlab(50.40, -3.78, 43.30)
CIE-LCHlch(50.40, 43.46, 94.98°)
OKLaboklab(57.11% -0.0142 0.0976)
OKLCHoklch(57.11% 0.099 98.3)
XYZxyz(17.1268, 18.7518, 4.9074)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87782A #2A3987
analogous
#874A2A #87782A #67872A
triadic
#87782A #2A8778 #782A87
tetradic
#87782A #2A874A #2A3987 #872A67
square
#87782A #2A874A #2A3987 #872A67
split-complementary
#87782A #2A6787 #4A2A87
monochromatic
#2A250D #584F1B #87782A #B6A139 #CDBB5E

Accessibility & contrast

On white

4.42
#87782A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#87782A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87782A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87782A#FFFFFF#000000##000000
##87782A1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#847520
Deuteranopia (green-blind)
#887A2E
Tritanopia (blue-blind)
#926F68
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #87782a;
/* rgb */ color: rgb(135, 120, 42);
/* oklch */ color: oklch(57.1% 0.099 98.3);
Tailwind
colors: {
  custom: {
    50: '#ad9e68',
    500: '#87782a',
    950: '#000000',
  },
}
SCSS
$custom: #87782a;
$custom-light: #ad9e68;
$custom-dark: #000000;
JSON
{
  "hex": "#87782a",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 42
  },
  "hsl": {
    "h": 50.323,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57111,
    "c": 0.09864,
    "h": 98.3
  },
  "luminance": 0.18751
}

Semantic roles & 50–950 ramp

primary
#87782A
secondary
#5A68B3
accent
#63DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #87782A

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

Preview Lab → · Contrast checker → · Palette generator →

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