#877C2B#877C2B

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

Color values

HEX#877C2B
RGBrgb(135, 124, 43)
HSLhsl(53, 52%, 35%)
HSVhsv(53, 68%, 53%)
CMYKcmyk(0%, 8.1%, 68.1%, 47.1%)
CIE-LABlab(51.54, -5.95, 44.05)
CIE-LCHlch(51.54, 44.45, 97.70°)
OKLaboklab(58.02% -0.0203 0.0994)
OKLCHoklch(58.02% 0.101 101.5)
XYZxyz(17.6361, 19.7414, 5.1665)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C2B #2B3687
analogous
#874E2B #877C2B #64872B
triadic
#877C2B #2B877C #7C2B87
tetradic
#877C2B #2B874E #2B3687 #872B64
square
#877C2B #2B874E #2B3687 #872B64
split-complementary
#877C2B #2B6487 #4E2B87
monochromatic
#2A270D #59511C #877C2B #B5A73A #CCBF60

Accessibility & contrast

On white

4.24
#877C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##877C2B#FFFFFF#000000##000000
##877C2B1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877820
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#91736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c2b;
/* rgb */ color: rgb(135, 124, 43);
/* oklch */ color: oklch(58.0% 0.101 101.5);
Tailwind
colors: {
  custom: {
    50: '#ada169',
    500: '#877c2b',
    950: '#000000',
  },
}
SCSS
$custom: #877c2b;
$custom-light: #ada169;
$custom-dark: #000000;
JSON
{
  "hex": "#877c2b",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 52.826,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58024,
    "c": 0.10142,
    "h": 101.5
  },
  "luminance": 0.19741
}

Semantic roles & 50–950 ramp

primary
#877C2B
secondary
#5B66B2
accent
#5EDB4D
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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