#887F4E#887F4E

#887F4E is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.3% C 0.069 H 99.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#887F4E
RGBrgb(136, 127, 78)
HSLhsl(51, 27%, 42%)
HSVhsv(51, 43%, 53%)
CMYKcmyk(0%, 6.6%, 42.6%, 46.7%)
CIE-LABlab(52.91, -4.07, 27.84)
CIE-LCHlch(52.91, 28.14, 98.31°)
OKLaboklab(59.27% -0.0109 0.0679)
OKLCHoklch(59.27% 0.069 99.1)
XYZxyz(19.1183, 20.9636, 10.2456)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F4E #4E5788
analogous
#88624E #887F4E #74884E
triadic
#887F4E #4E887F #7F4E88
tetradic
#887F4E #4E8862 #4E5788 #884E74
square
#887F4E #4E8862 #4E5788 #884E74
split-complementary
#887F4E #4E7488 #624E88
monochromatic
#3A3621 #615B38 #887F4E #A9A06A #C0B891

Accessibility & contrast

On white

4.04
#887F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#887F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887F4E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887F4E#FFFFFF#000000##000000
##887F4E1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C4A
Deuteranopia (green-blind)
#8A8050
Tritanopia (blue-blind)
#907873
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #887f4e;
/* rgb */ color: rgb(136, 127, 78);
/* oklch */ color: oklch(59.3% 0.069 99.1);
Tailwind
colors: {
  custom: {
    50: '#aca480',
    500: '#887f4e',
    950: '#000000',
  },
}
SCSS
$custom: #887f4e;
$custom-light: #aca480;
$custom-dark: #000000;
JSON
{
  "hex": "#887f4e",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 50.69,
    "s": 27.103,
    "l": 41.961
  },
  "oklch": {
    "l": 0.59265,
    "c": 0.06875,
    "h": 99.1
  },
  "luminance": 0.20963
}

Semantic roles & 50–950 ramp

primary
#887F4E
secondary
#868CAC
accent
#73C364
background
#FAFAF7
surface
#F4F3EE
border
#CECDC9
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #887F4E

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

Preview Lab → · Contrast checker → · Palette generator →

#887F4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva