#877F52#877F52

#877F52 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.064 H 99.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#877F52
RGBrgb(135, 127, 82)
HSLhsl(51, 24%, 43%)
HSVhsv(51, 39%, 53%)
CMYKcmyk(0%, 5.9%, 39.3%, 47.1%)
CIE-LABlab(52.88, -4.02, 25.57)
CIE-LCHlch(52.88, 25.88, 98.94°)
OKLaboklab(59.24% -0.0104 0.0629)
OKLCHoklch(59.24% 0.064 99.4)
XYZxyz(19.1044, 20.9394, 11.0164)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877F52 #525A87
analogous
#876452 #877F52 #758752
triadic
#877F52 #52877F #7F5287
tetradic
#877F52 #528764 #525A87 #875275
square
#877F52 #528764 #525A87 #875275
split-complementary
#877F52 #527587 #645287
monochromatic
#3B3724 #615B3B #877F52 #A79F6F #BFB895

Accessibility & contrast

On white

4.05
#877F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#877F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877F52
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877F52#FFFFFF#000000##000000
##877F521.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4F
Deuteranopia (green-blind)
#8A8054
Tritanopia (blue-blind)
#8F7974
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #877f52;
/* rgb */ color: rgb(135, 127, 82);
/* oklch */ color: oklch(59.2% 0.064 99.4);
Tailwind
colors: {
  custom: {
    50: '#aba483',
    500: '#877f52',
    950: '#000000',
  },
}
SCSS
$custom: #877f52;
$custom-light: #aba483;
$custom-dark: #000000;
JSON
{
  "hex": "#877f52",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 82
  },
  "hsl": {
    "h": 50.943,
    "s": 24.424,
    "l": 42.549
  },
  "oklch": {
    "l": 0.59243,
    "c": 0.06373,
    "h": 99.4
  },
  "luminance": 0.20939
}

Semantic roles & 50–950 ramp

primary
#877F52
secondary
#898EAC
accent
#75C167
background
#FAFAF8
surface
#F4F3EF
border
#CECDCA
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #877F52

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

Preview Lab → · Contrast checker → · Palette generator →

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