#877B52#877B52

#877B52 is a mid, muted yellow. Relative luminance 0.199; OKLCH L 58.4% C 0.060 H 93.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#877B52
RGBrgb(135, 123, 82)
HSLhsl(46, 24%, 43%)
HSVhsv(46, 39%, 53%)
CMYKcmyk(0%, 8.9%, 39.3%, 47.1%)
CIE-LABlab(51.75, -1.77, 24.10)
CIE-LCHlch(51.75, 24.17, 94.19°)
OKLaboklab(58.35% -0.0039 0.0595)
OKLCHoklch(58.35% 0.06 93.7)
XYZxyz(18.5980, 19.9266, 10.8476)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B52 #525E87
analogous
#876052 #877B52 #798752
triadic
#877B52 #52877B #7B5287
tetradic
#877B52 #528760 #525E87 #875279
square
#877B52 #528760 #525E87 #875279
split-complementary
#877B52 #527987 #605287
monochromatic
#3B3624 #61583B #877B52 #A79B6F #BFB595

Accessibility & contrast

On white

4.21
#877B52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#877B52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B52
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B52#FFFFFF#000000##000000
##877B521.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83794F
Deuteranopia (green-blind)
#867D53
Tritanopia (blue-blind)
#8F7571
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877b52;
/* rgb */ color: rgb(135, 123, 82);
/* oklch */ color: oklch(58.4% 0.060 93.7);
Tailwind
colors: {
  custom: {
    50: '#aba183',
    500: '#877b52',
    950: '#000000',
  },
}
SCSS
$custom: #877b52;
$custom-light: #aba183;
$custom-dark: #000000;
JSON
{
  "hex": "#877b52",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 82
  },
  "hsl": {
    "h": 46.415,
    "s": 24.424,
    "l": 42.549
  },
  "oklch": {
    "l": 0.58351,
    "c": 0.05961,
    "h": 93.7
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#877B52
secondary
#8991AC
accent
#7BC167
background
#FAF9F8
surface
#F4F2EF
border
#CECCCA
text
#100E0A
muted
#7F7E7C

Preview Lab

Preview with #877B52

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

Preview Lab → · Contrast checker → · Palette generator →

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