#877B41#877B41

#877B41 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.080 H 97.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#877B41
RGBrgb(135, 123, 65)
HSLhsl(50, 35%, 39%)
HSVhsv(50, 52%, 53%)
CMYKcmyk(0%, 8.9%, 51.9%, 47.1%)
CIE-LABlab(51.50, -3.64, 33.12)
CIE-LCHlch(51.50, 33.32, 96.27°)
OKLaboklab(58.06% -0.0109 0.0788)
OKLCHoklch(58.06% 0.08 97.9)
XYZxyz(18.0293, 19.6992, 7.8526)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B41 #414D87
analogous
#875841 #877B41 #708741
triadic
#877B41 #41877B #7B4187
tetradic
#877B41 #418758 #414D87 #874170
square
#877B41 #418758 #414D87 #874170
split-complementary
#877B41 #417087 #584187
monochromatic
#343019 #5E552D #877B41 #AE9F57 #C2B780

Accessibility & contrast

On white

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

On black

4.94
#877B41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B41
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B41#FFFFFF#000000##000000
##877B411.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85783C
Deuteranopia (green-blind)
#887D43
Tritanopia (blue-blind)
#90746D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877b41;
/* rgb */ color: rgb(135, 123, 65);
/* oklch */ color: oklch(58.1% 0.080 97.9);
Tailwind
colors: {
  custom: {
    50: '#aca177',
    500: '#877b41',
    950: '#000000',
  },
}
SCSS
$custom: #877b41;
$custom-light: #aca177;
$custom-dark: #000000;
JSON
{
  "hex": "#877b41",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 65
  },
  "hsl": {
    "h": 49.714,
    "s": 35,
    "l": 39.216
  },
  "oklch": {
    "l": 0.58062,
    "c": 0.07954,
    "h": 97.9
  },
  "luminance": 0.19698
}

Semantic roles & 50–950 ramp

primary
#877B41
secondary
#7780AD
accent
#70CB5D
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100E09
muted
#7F7E7B

Preview Lab

Preview with #877B41

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

Preview Lab → · Contrast checker → · Palette generator →

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