#877D39#877D39

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

Color values

HEX#877D39
RGBrgb(135, 125, 57)
HSLhsl(52, 41%, 38%)
HSVhsv(52, 58%, 53%)
CMYKcmyk(0%, 7.4%, 57.8%, 47.1%)
CIE-LABlab(51.97, -5.48, 37.83)
CIE-LCHlch(51.97, 38.22, 98.25°)
OKLaboklab(58.4% -0.0172 0.0882)
OKLCHoklch(58.4% 0.09 101)
XYZxyz(18.0644, 20.1142, 6.8010)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D39 #394387
analogous
#875639 #877D39 #6A8739
triadic
#877D39 #39877D #7D3987
tetradic
#877D39 #398756 #394387 #87396A
square
#877D39 #398756 #394387 #87396A
split-complementary
#877D39 #396A87 #563987
monochromatic
#312D15 #5C5527 #877D39 #B2A54B #C5BB75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877D39#FFFFFF#000000##000000
##877D391.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)
#887A32
Deuteranopia (green-blind)
#8B7E3C
Tritanopia (blue-blind)
#91756E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877d39;
/* rgb */ color: rgb(135, 125, 57);
/* oklch */ color: oklch(58.4% 0.090 101.0);
Tailwind
colors: {
  custom: {
    50: '#aca272',
    500: '#877d39',
    950: '#000000',
  },
}
SCSS
$custom: #877d39;
$custom-light: #aca272;
$custom-dark: #000000;
JSON
{
  "hex": "#877d39",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 57
  },
  "hsl": {
    "h": 52.308,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58403,
    "c": 0.08984,
    "h": 101
  },
  "luminance": 0.20114
}

Semantic roles & 50–950 ramp

primary
#877D39
secondary
#6E76AE
accent
#67D057
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100F08
muted
#7F7E7B

Preview Lab

Preview with #877D39

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

Preview Lab → · Contrast checker → · Palette generator →

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