#877B4E#877B4E

#877B4E is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.3% C 0.065 H 95.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#877B4E
RGBrgb(135, 123, 78)
HSLhsl(47, 27%, 42%)
HSVhsv(47, 42%, 53%)
CMYKcmyk(0%, 8.9%, 42.2%, 47.1%)
CIE-LABlab(51.69, -2.25, 26.26)
CIE-LCHlch(51.69, 26.35, 94.89°)
OKLaboklab(58.28% -0.0056 0.0643)
OKLCHoklch(58.28% 0.065 95)
XYZxyz(18.4502, 19.8675, 10.0692)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B4E #4E5A87
analogous
#875F4E #877B4E #77874E
triadic
#877B4E #4E877B #7B4E87
tetradic
#877B4E #4E875F #4E5A87 #874E77
square
#877B4E #4E875F #4E5A87 #874E77
split-complementary
#877B4E #4E7787 #5F4E87
monochromatic
#393421 #605838 #877B4E #A99B6A #BFB590

Accessibility & contrast

On white

4.22
#877B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#877B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B4E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B4E#FFFFFF#000000##000000
##877B4E1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84794B
Deuteranopia (green-blind)
#877D50
Tritanopia (blue-blind)
#8F7570
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877b4e;
/* rgb */ color: rgb(135, 123, 78);
/* oklch */ color: oklch(58.3% 0.065 95.0);
Tailwind
colors: {
  custom: {
    50: '#aba180',
    500: '#877b4e',
    950: '#000000',
  },
}
SCSS
$custom: #877b4e;
$custom-light: #aba180;
$custom-dark: #000000;
JSON
{
  "hex": "#877b4e",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 47.368,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58276,
    "c": 0.06451,
    "h": 95
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#877B4E
secondary
#858DAC
accent
#79C365
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#100E0A
muted
#7F7E7C

Preview Lab

Preview with #877B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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