#87752A#87752A

#87752A is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.4% C 0.096 H 95.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#87752A
RGBrgb(135, 117, 42)
HSLhsl(48, 53%, 35%)
HSVhsv(48, 69%, 53%)
CMYKcmyk(0%, 13.3%, 68.9%, 47.1%)
CIE-LABlab(49.55, -2.08, 42.41)
CIE-LCHlch(49.55, 42.46, 92.81°)
OKLaboklab(56.44% -0.0093 0.0958)
OKLCHoklch(56.44% 0.096 95.6)
XYZxyz(16.7717, 18.0415, 4.7890)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87752A #2A3C87
analogous
#87472A #87752A #6B872A
triadic
#87752A #2A8775 #752A87
tetradic
#87752A #2A8747 #2A3C87 #872A6B
square
#87752A #2A8747 #2A3C87 #872A6B
split-complementary
#87752A #2A6B87 #472A87
monochromatic
#2A240D #584D1B #87752A #B69D39 #CDB85E

Accessibility & contrast

On white

4.56
#87752A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#87752A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87752A
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87752A#FFFFFF#000000##000000
##87752A1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#817321
Deuteranopia (green-blind)
#86782E
Tritanopia (blue-blind)
#926C65
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #87752a;
/* rgb */ color: rgb(135, 117, 42);
/* oklch */ color: oklch(56.4% 0.096 95.6);
Tailwind
colors: {
  custom: {
    50: '#ad9c68',
    500: '#87752a',
    950: '#000000',
  },
}
SCSS
$custom: #87752a;
$custom-light: #ad9c68;
$custom-dark: #000000;
JSON
{
  "hex": "#87752a",
  "rgb": {
    "r": 135,
    "g": 117,
    "b": 42
  },
  "hsl": {
    "h": 48.387,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56438,
    "c": 0.0962,
    "h": 95.6
  },
  "luminance": 0.18041
}

Semantic roles & 50–950 ramp

primary
#87752A
secondary
#5A6BB3
accent
#68DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #87752A

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

Preview Lab → · Contrast checker → · Palette generator →

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