#87742D#87742D

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

Color values

HEX#87742D
RGBrgb(135, 116, 45)
HSLhsl(47, 50%, 35%)
HSVhsv(47, 67%, 53%)
CMYKcmyk(0%, 14.1%, 66.7%, 47.1%)
CIE-LABlab(49.29, -1.32, 40.74)
CIE-LCHlch(49.29, 40.76, 91.85°)
OKLaboklab(56.25% -0.0068 0.0927)
OKLCHoklch(56.25% 0.093 94.2)
XYZxyz(16.7115, 17.8320, 5.0438)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87742D #2D4087
analogous
#87472D #87742D #6D872D
triadic
#87742D #2D8774 #742D87
tetradic
#87742D #2D8747 #2D4087 #872D6D
square
#87742D #2D8747 #2D4087 #872D6D
split-complementary
#87742D #2D6D87 #472D87
monochromatic
#2B250E #594D1E #87742D #B59B3C #CBB563

Accessibility & contrast

On white

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

On black

4.57
#87742D on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##87742D#FFFFFF#000000##FFFFFF
##87742D1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87742d;
/* rgb */ color: rgb(135, 116, 45);
/* oklch */ color: oklch(56.2% 0.093 94.2);
Tailwind
colors: {
  custom: {
    50: '#ad9b69',
    500: '#87742d',
    950: '#000000',
  },
}
SCSS
$custom: #87742d;
$custom-light: #ad9b69;
$custom-dark: #000000;
JSON
{
  "hex": "#87742d",
  "rgb": {
    "r": 135,
    "g": 116,
    "b": 45
  },
  "hsl": {
    "h": 47.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56246,
    "c": 0.09297,
    "h": 94.2
  },
  "luminance": 0.17831
}

Semantic roles & 50–950 ramp

primary
#87742D
secondary
#5E70B2
accent
#6CDA4E
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #87742D

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

Preview Lab → · Contrast checker → · Palette generator →

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