#877A42#877A42

#877A42 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.077 H 96.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#877A42
RGBrgb(135, 122, 66)
HSLhsl(49, 34%, 39%)
HSVhsv(49, 51%, 53%)
CMYKcmyk(0%, 9.6%, 51.1%, 47.1%)
CIE-LABlab(51.23, -2.98, 32.26)
CIE-LCHlch(51.23, 32.40, 95.28°)
OKLaboklab(57.85% -0.0089 0.077)
OKLCHoklch(57.85% 0.077 96.6)
XYZxyz(17.9351, 19.4640, 7.9654)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A42 #424F87
analogous
#875842 #877A42 #728742
triadic
#877A42 #42877A #7A4287
tetradic
#877A42 #428758 #424F87 #874272
square
#877A42 #428758 #424F87 #874272
split-complementary
#877A42 #427287 #584287
monochromatic
#35301A #5E552E #877A42 #AE9E59 #C2B682

Accessibility & contrast

On white

4.29
#877A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#877A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A42
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A42#FFFFFF#000000##000000
##877A421.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84783D
Deuteranopia (green-blind)
#877C44
Tritanopia (blue-blind)
#90736D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877a42;
/* rgb */ color: rgb(135, 122, 66);
/* oklch */ color: oklch(57.9% 0.077 96.6);
Tailwind
colors: {
  custom: {
    50: '#aca078',
    500: '#877a42',
    950: '#000000',
  },
}
SCSS
$custom: #877a42;
$custom-light: #aca078;
$custom-dark: #000000;
JSON
{
  "hex": "#877a42",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 48.696,
    "s": 34.328,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57853,
    "c": 0.07748,
    "h": 96.6
  },
  "luminance": 0.19463
}

Semantic roles & 50–950 ramp

primary
#877A42
secondary
#7882AC
accent
#72CA5D
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100E09
muted
#7F7E7B

Preview Lab

Preview with #877A42

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

Preview Lab → · Contrast checker → · Palette generator →

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