#877C3A#877C3A

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

Color values

HEX#877C3A
RGBrgb(135, 124, 58)
HSLhsl(51, 40%, 38%)
HSVhsv(51, 57%, 53%)
CMYKcmyk(0%, 8.1%, 57%, 47.1%)
CIE-LABlab(51.69, -4.84, 37.01)
CIE-LCHlch(51.69, 37.32, 97.45°)
OKLaboklab(58.19% -0.0152 0.0865)
OKLCHoklch(58.19% 0.088 100)
XYZxyz(17.9637, 19.8724, 6.8917)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C3A #3A4587
analogous
#87563A #877C3A #6B873A
triadic
#877C3A #3A877C #7C3A87
tetradic
#877C3A #3A8756 #3A4587 #873A6B
square
#877C3A #3A8756 #3A4587 #873A6B
split-complementary
#877C3A #3A6B87 #563A87
monochromatic
#312D15 #5C5528 #877C3A #B2A34C #C5B977

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877C3A#FFFFFF#000000##000000
##877C3A1.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)
#877934
Deuteranopia (green-blind)
#8A7D3D
Tritanopia (blue-blind)
#91746D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c3a;
/* rgb */ color: rgb(135, 124, 58);
/* oklch */ color: oklch(58.2% 0.088 100.0);
Tailwind
colors: {
  custom: {
    50: '#aca172',
    500: '#877c3a',
    950: '#000000',
  },
}
SCSS
$custom: #877c3a;
$custom-light: #aca172;
$custom-dark: #000000;
JSON
{
  "hex": "#877c3a",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 58
  },
  "hsl": {
    "h": 51.429,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5819,
    "c": 0.08786,
    "h": 100
  },
  "luminance": 0.19872
}

Semantic roles & 50–950 ramp

primary
#877C3A
secondary
#6F78AE
accent
#69D058
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100F08
muted
#7F7E7B

Preview Lab

Preview with #877C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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