#877F4E#877F4E

#877F4E is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.069 H 100.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#877F4E
RGBrgb(135, 127, 78)
HSLhsl(52, 27%, 42%)
HSVhsv(52, 42%, 53%)
CMYKcmyk(0%, 5.9%, 42.2%, 47.1%)
CIE-LABlab(52.82, -4.50, 27.71)
CIE-LCHlch(52.82, 28.07, 99.22°)
OKLaboklab(59.17% -0.0121 0.0676)
OKLCHoklch(59.17% 0.069 100.1)
XYZxyz(18.9566, 20.8803, 10.2380)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877F4E #4E5687
analogous
#87634E #877F4E #73874E
triadic
#877F4E #4E877F #7F4E87
tetradic
#877F4E #4E8763 #4E5687 #874E73
square
#877F4E #4E8763 #4E5687 #874E73
split-complementary
#877F4E #4E7387 #634E87
monochromatic
#393621 #605B38 #877F4E #A9A06A #BFB990

Accessibility & contrast

On white

4.06
#877F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#877F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877F4E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877F4E#FFFFFF#000000##000000
##877F4E1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #877f4e;
/* rgb */ color: rgb(135, 127, 78);
/* oklch */ color: oklch(59.2% 0.069 100.1);
Tailwind
colors: {
  custom: {
    50: '#aba480',
    500: '#877f4e',
    950: '#000000',
  },
}
SCSS
$custom: #877f4e;
$custom-light: #aba480;
$custom-dark: #000000;
JSON
{
  "hex": "#877f4e",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 51.579,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5917,
    "c": 0.06865,
    "h": 100.1
  },
  "luminance": 0.2088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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