#87742C#87742C

#87742C is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.2% C 0.094 H 94.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#87742C
RGBrgb(135, 116, 44)
HSLhsl(47, 51%, 35%)
HSVhsv(47, 67%, 53%)
CMYKcmyk(0%, 14.1%, 67.4%, 47.1%)
CIE-LABlab(49.28, -1.39, 41.21)
CIE-LCHlch(49.28, 41.23, 91.93°)
OKLaboklab(56.24% -0.0071 0.0935)
OKLCHoklch(56.24% 0.094 94.3)
XYZxyz(16.6925, 17.8244, 4.9436)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87742C #2C3F87
analogous
#87472C #87742C #6C872C
triadic
#87742C #2C8774 #742C87
tetradic
#87742C #2C8747 #2C3F87 #872C6C
square
#87742C #2C8747 #2C3F87 #872C6C
split-complementary
#87742C #2C6C87 #472C87
monochromatic
#2B250E #594C1D #87742C #B59C3B #CCB662

Accessibility & contrast

On white

4.60
#87742C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#87742C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #87742C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87742C#FFFFFF#000000##FFFFFF
##87742C1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807223
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#926B65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #87742c;
/* rgb */ color: rgb(135, 116, 44);
/* oklch */ color: oklch(56.2% 0.094 94.3);
Tailwind
colors: {
  custom: {
    50: '#ad9b69',
    500: '#87742c',
    950: '#000000',
  },
}
SCSS
$custom: #87742c;
$custom-light: #ad9b69;
$custom-dark: #000000;
JSON
{
  "hex": "#87742c",
  "rgb": {
    "r": 135,
    "g": 116,
    "b": 44
  },
  "hsl": {
    "h": 47.473,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56235,
    "c": 0.0938,
    "h": 94.3
  },
  "luminance": 0.17824
}

Semantic roles & 50–950 ramp

primary
#87742C
secondary
#5D6FB2
accent
#6BDA4D
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #87742C

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

Preview Lab → · Contrast checker → · Palette generator →

#87742C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva