#87742E#87742E

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

Color values

HEX#87742E
RGBrgb(135, 116, 46)
HSLhsl(47, 49%, 35%)
HSVhsv(47, 66%, 53%)
CMYKcmyk(0%, 14.1%, 65.9%, 47.1%)
CIE-LABlab(49.30, -1.25, 40.28)
CIE-LCHlch(49.30, 40.30, 91.78°)
OKLaboklab(56.26% -0.0064 0.0919)
OKLCHoklch(56.26% 0.092 94)
XYZxyz(16.7310, 17.8398, 5.1464)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87742E #2E4187
analogous
#87472E #87742E #6D872E
triadic
#87742E #2E8774 #742E87
tetradic
#87742E #2E8747 #2E4187 #872E6D
square
#87742E #2E8747 #2E4187 #872E6D
split-complementary
#87742E #2E6D87 #472E87
monochromatic
#2C260F #594D1E #87742E #B59B3E #CAB565

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87742E#FFFFFF#000000##FFFFFF
##87742E1.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)
#807226
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#926B65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #87742e;
/* rgb */ color: rgb(135, 116, 46);
/* oklch */ color: oklch(56.3% 0.092 94.0);
Tailwind
colors: {
  custom: {
    50: '#ad9b6a',
    500: '#87742e',
    950: '#000000',
  },
}
SCSS
$custom: #87742e;
$custom-light: #ad9b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#87742e",
  "rgb": {
    "r": 135,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 47.191,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56256,
    "c": 0.09211,
    "h": 94
  },
  "luminance": 0.17839
}

Semantic roles & 50–950 ramp

primary
#87742E
secondary
#6071B1
accent
#6CD94F
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #87742E

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

Preview Lab → · Contrast checker → · Palette generator →

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