#877C4E#877C4E

#877C4E is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.5% C 0.066 H 96.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#877C4E
RGBrgb(135, 124, 78)
HSLhsl(48, 27%, 42%)
HSVhsv(48, 42%, 53%)
CMYKcmyk(0%, 8.1%, 42.2%, 47.1%)
CIE-LABlab(51.97, -2.81, 26.62)
CIE-LCHlch(51.97, 26.77, 96.03°)
OKLaboklab(58.5% -0.0072 0.0651)
OKLCHoklch(58.5% 0.066 96.3)
XYZxyz(18.5749, 20.1169, 10.1107)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C4E #4E5987
analogous
#87604E #877C4E #76874E
triadic
#877C4E #4E877C #7C4E87
tetradic
#877C4E #4E8760 #4E5987 #874E76
square
#877C4E #4E8760 #4E5987 #874E76
split-complementary
#877C4E #4E7687 #604E87
monochromatic
#393521 #605838 #877C4E #A99C6A #BFB690

Accessibility & contrast

On white

4.18
#877C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#877C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C4E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C4E#FFFFFF#000000##000000
##877C4E1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857A4B
Deuteranopia (green-blind)
#887E50
Tritanopia (blue-blind)
#8F7671
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877c4e;
/* rgb */ color: rgb(135, 124, 78);
/* oklch */ color: oklch(58.5% 0.066 96.3);
Tailwind
colors: {
  custom: {
    50: '#aba180',
    500: '#877c4e',
    950: '#000000',
  },
}
SCSS
$custom: #877c4e;
$custom-light: #aba180;
$custom-dark: #000000;
JSON
{
  "hex": "#877c4e",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 48.421,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58499,
    "c": 0.0655,
    "h": 96.3
  },
  "luminance": 0.20116
}

Semantic roles & 50–950 ramp

primary
#877C4E
secondary
#858DAC
accent
#77C365
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#100F0A
muted
#7F7E7C

Preview Lab

Preview with #877C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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