#877C2A#877C2A

#877C2A is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.0% C 0.102 H 101.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#877C2A
RGBrgb(135, 124, 42)
HSLhsl(53, 53%, 35%)
HSVhsv(53, 69%, 53%)
CMYKcmyk(0%, 8.1%, 68.9%, 47.1%)
CIE-LABlab(51.54, -6.01, 44.48)
CIE-LCHlch(51.54, 44.89, 97.70°)
OKLaboklab(58.02% -0.0206 0.1001)
OKLCHoklch(58.02% 0.102 101.6)
XYZxyz(17.6180, 19.7341, 5.0711)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C2A #2A3587
analogous
#874D2A #877C2A #64872A
triadic
#877C2A #2A877C #7C2A87
tetradic
#877C2A #2A874D #2A3587 #872A64
square
#877C2A #2A874D #2A3587 #872A64
split-complementary
#877C2A #2A6487 #4D2A87
monochromatic
#2A260D #58511B #877C2A #B6A739 #CDC05E

Accessibility & contrast

On white

4.25
#877C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#877C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C2A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C2A#FFFFFF#000000##000000
##877C2A1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781F
Deuteranopia (green-blind)
#8B7D2F
Tritanopia (blue-blind)
#91736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c2a;
/* rgb */ color: rgb(135, 124, 42);
/* oklch */ color: oklch(58.0% 0.102 101.6);
Tailwind
colors: {
  custom: {
    50: '#ada168',
    500: '#877c2a',
    950: '#000000',
  },
}
SCSS
$custom: #877c2a;
$custom-light: #ada168;
$custom-dark: #000000;
JSON
{
  "hex": "#877c2a",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 52.903,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58015,
    "c": 0.10221,
    "h": 101.6
  },
  "luminance": 0.19733
}

Semantic roles & 50–950 ramp

primary
#877C2A
secondary
#5A65B3
accent
#5DDC4C
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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