#877A3C#877A3C

#877A3C is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.8% C 0.084 H 97.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#877A3C
RGBrgb(135, 122, 60)
HSLhsl(50, 38%, 38%)
HSVhsv(50, 56%, 53%)
CMYKcmyk(0%, 9.6%, 55.6%, 47.1%)
CIE-LABlab(51.15, -3.54, 35.34)
CIE-LCHlch(51.15, 35.52, 95.72°)
OKLaboklab(57.77% -0.0112 0.0831)
OKLCHoklch(57.77% 0.084 97.7)
XYZxyz(17.7674, 19.3969, 7.0822)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A3C #3C4987
analogous
#87543C #877A3C #6E873C
triadic
#877A3C #3C877A #7A3C87
tetradic
#877A3C #3C8754 #3C4987 #873C6E
square
#877A3C #3C8754 #3C4987 #873C6E
split-complementary
#877A3C #3C6E87 #543C87
monochromatic
#322D16 #5D5429 #877A3C #B1A04F #C4B77A

Accessibility & contrast

On white

4.30
#877A3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#877A3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A3C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A3C#FFFFFF#000000##000000
##877A3C1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#847736
Deuteranopia (green-blind)
#887C3F
Tritanopia (blue-blind)
#91726C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877a3c;
/* rgb */ color: rgb(135, 122, 60);
/* oklch */ color: oklch(57.8% 0.084 97.7);
Tailwind
colors: {
  custom: {
    50: '#aca073',
    500: '#877a3c',
    950: '#000000',
  },
}
SCSS
$custom: #877a3c;
$custom-light: #aca073;
$custom-dark: #000000;
JSON
{
  "hex": "#877a3c",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 60
  },
  "hsl": {
    "h": 49.6,
    "s": 38.462,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57767,
    "c": 0.0839,
    "h": 97.7
  },
  "luminance": 0.19396
}

Semantic roles & 50–950 ramp

primary
#877A3C
secondary
#717CAD
accent
#6ECE59
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100E08
muted
#7F7E7B

Preview Lab

Preview with #877A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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