#877D3A#877D3A

#877D3A is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.089 H 100.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#877D3A
RGBrgb(135, 125, 58)
HSLhsl(52, 40%, 38%)
HSVhsv(52, 57%, 53%)
CMYKcmyk(0%, 7.4%, 57%, 47.1%)
CIE-LABlab(51.98, -5.40, 37.34)
CIE-LCHlch(51.98, 37.72, 98.23°)
OKLaboklab(58.42% -0.0168 0.0872)
OKLCHoklch(58.42% 0.089 100.9)
XYZxyz(18.0896, 20.1243, 6.9337)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D3A #3A4487
analogous
#87573A #877D3A #6A873A
triadic
#877D3A #3A877D #7D3A87
tetradic
#877D3A #3A8757 #3A4487 #873A6A
square
#877D3A #3A8757 #3A4487 #873A6A
split-complementary
#877D3A #3A6A87 #573A87
monochromatic
#312E15 #5C5528 #877D3A #B2A54C #C5BA77

Accessibility & contrast

On white

4.18
#877D3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#877D3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D3A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D3A#FFFFFF#000000##000000
##877D3A1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A33
Deuteranopia (green-blind)
#8A7E3D
Tritanopia (blue-blind)
#90756E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877d3a;
/* rgb */ color: rgb(135, 125, 58);
/* oklch */ color: oklch(58.4% 0.089 100.9);
Tailwind
colors: {
  custom: {
    50: '#aca272',
    500: '#877d3a',
    950: '#000000',
  },
}
SCSS
$custom: #877d3a;
$custom-light: #aca272;
$custom-dark: #000000;
JSON
{
  "hex": "#877d3a",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 58
  },
  "hsl": {
    "h": 52.208,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58416,
    "c": 0.08885,
    "h": 100.9
  },
  "luminance": 0.20124
}

Semantic roles & 50–950 ramp

primary
#877D3A
secondary
#6F77AE
accent
#68D058
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100F08
muted
#7F7E7B

Preview Lab

Preview with #877D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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