#877D4E#877D4E

#877D4E is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.7% C 0.067 H 97.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#877D4E
RGBrgb(135, 125, 78)
HSLhsl(49, 27%, 42%)
HSVhsv(49, 42%, 53%)
CMYKcmyk(0%, 7.4%, 42.2%, 47.1%)
CIE-LABlab(52.25, -3.38, 26.98)
CIE-LCHlch(52.25, 27.19, 97.13°)
OKLaboklab(58.72% -0.0088 0.0659)
OKLCHoklch(58.72% 0.067 97.6)
XYZxyz(18.7008, 20.3688, 10.1527)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D4E #4E5887
analogous
#87614E #877D4E #75874E
triadic
#877D4E #4E877D #7D4E87
tetradic
#877D4E #4E8761 #4E5887 #874E75
square
#877D4E #4E8761 #4E5887 #874E75
split-complementary
#877D4E #4E7587 #614E87
monochromatic
#393521 #605938 #877D4E #A99E6A #BFB790

Accessibility & contrast

On white

4.14
#877D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#877D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D4E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D4E#FFFFFF#000000##000000
##877D4E1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B4A
Deuteranopia (green-blind)
#887E50
Tritanopia (blue-blind)
#8F7771
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #877d4e;
/* rgb */ color: rgb(135, 125, 78);
/* oklch */ color: oklch(58.7% 0.067 97.6);
Tailwind
colors: {
  custom: {
    50: '#aba280',
    500: '#877d4e',
    950: '#000000',
  },
}
SCSS
$custom: #877d4e;
$custom-light: #aba280;
$custom-dark: #000000;
JSON
{
  "hex": "#877d4e",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 49.474,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58722,
    "c": 0.06652,
    "h": 97.6
  },
  "luminance": 0.20368
}

Semantic roles & 50–950 ramp

primary
#877D4E
secondary
#858CAC
accent
#75C365
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#100F0A
muted
#7F7E7C

Preview Lab

Preview with #877D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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