#877A4E#877A4E

#877A4E is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.1% C 0.064 H 93.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#877A4E
RGBrgb(135, 122, 78)
HSLhsl(46, 27%, 42%)
HSVhsv(46, 42%, 53%)
CMYKcmyk(0%, 9.6%, 42.2%, 47.1%)
CIE-LABlab(51.41, -1.68, 25.90)
CIE-LCHlch(51.41, 25.95, 93.72°)
OKLaboklab(58.05% -0.0039 0.0634)
OKLCHoklch(58.05% 0.064 93.6)
XYZxyz(18.3268, 19.6207, 10.0280)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A4E #4E5B87
analogous
#875E4E #877A4E #78874E
triadic
#877A4E #4E877A #7A4E87
tetradic
#877A4E #4E875E #4E5B87 #874E78
square
#877A4E #4E875E #4E5B87 #874E78
split-complementary
#877A4E #4E7887 #5E4E87
monochromatic
#393421 #605738 #877A4E #A99A6A #BFB490

Accessibility & contrast

On white

4.26
#877A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#877A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A4E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A4E#FFFFFF#000000##000000
##877A4E1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83784B
Deuteranopia (green-blind)
#867C50
Tritanopia (blue-blind)
#8F746F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877a4e;
/* rgb */ color: rgb(135, 122, 78);
/* oklch */ color: oklch(58.1% 0.064 93.6);
Tailwind
colors: {
  custom: {
    50: '#aba080',
    500: '#877a4e',
    950: '#000000',
  },
}
SCSS
$custom: #877a4e;
$custom-light: #aba080;
$custom-dark: #000000;
JSON
{
  "hex": "#877a4e",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 46.316,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58053,
    "c": 0.06356,
    "h": 93.6
  },
  "luminance": 0.1962
}

Semantic roles & 50–950 ramp

primary
#877A4E
secondary
#858EAC
accent
#7AC365
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#100E0A
muted
#7F7E7C

Preview Lab

Preview with #877A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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