#877E4E#877E4E

#877E4E is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.068 H 98.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#877E4E
RGBrgb(135, 126, 78)
HSLhsl(51, 27%, 42%)
HSVhsv(51, 42%, 53%)
CMYKcmyk(0%, 6.7%, 42.2%, 47.1%)
CIE-LABlab(52.53, -3.94, 27.34)
CIE-LCHlch(52.53, 27.63, 98.20°)
OKLaboklab(58.95% -0.0105 0.0668)
OKLCHoklch(58.95% 0.068 98.9)
XYZxyz(18.8281, 20.6232, 10.1951)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E4E #4E5787
analogous
#87624E #877E4E #74874E
triadic
#877E4E #4E877E #7E4E87
tetradic
#877E4E #4E8762 #4E5787 #874E74
square
#877E4E #4E8762 #4E5787 #874E74
split-complementary
#877E4E #4E7487 #624E87
monochromatic
#393621 #605A38 #877E4E #A99F6A #BFB890

Accessibility & contrast

On white

4.10
#877E4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#877E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E4E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E4E#FFFFFF#000000##000000
##877E4E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B4A
Deuteranopia (green-blind)
#897F50
Tritanopia (blue-blind)
#8F7872
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #877e4e;
/* rgb */ color: rgb(135, 126, 78);
/* oklch */ color: oklch(58.9% 0.068 98.9);
Tailwind
colors: {
  custom: {
    50: '#aba380',
    500: '#877e4e',
    950: '#000000',
  },
}
SCSS
$custom: #877e4e;
$custom-light: #aba380;
$custom-dark: #000000;
JSON
{
  "hex": "#877e4e",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 78
  },
  "hsl": {
    "h": 50.526,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58946,
    "c": 0.06757,
    "h": 98.9
  },
  "luminance": 0.20623
}

Semantic roles & 50–950 ramp

primary
#877E4E
secondary
#858BAC
accent
#74C365
background
#FAFAF7
surface
#F4F3EE
border
#CECDC9
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #877E4E

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

Preview Lab → · Contrast checker → · Palette generator →

#877E4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva