#877C31#877C31

#877C31 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.096 H 101.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#877C31
RGBrgb(135, 124, 49)
HSLhsl(52, 47%, 36%)
HSVhsv(52, 64%, 53%)
CMYKcmyk(0%, 8.1%, 63.7%, 47.1%)
CIE-LABlab(51.60, -5.55, 41.34)
CIE-LCHlch(51.60, 41.71, 97.64°)
OKLaboklab(58.08% -0.0184 0.0946)
OKLCHoklch(58.08% 0.096 101)
XYZxyz(17.7544, 19.7887, 5.7895)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C31 #313C87
analogous
#875131 #877C31 #678731
triadic
#877C31 #31877C #7C3187
tetradic
#877C31 #318751 #313C87 #873167
square
#877C31 #318751 #313C87 #873167
split-complementary
#877C31 #316787 #513187
monochromatic
#2D2A10 #5A5321 #877C31 #B4A541 #C9BD6A

Accessibility & contrast

On white

4.24
#877C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#877C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C31
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C31#FFFFFF#000000##000000
##877C311.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877828
Deuteranopia (green-blind)
#8A7D35
Tritanopia (blue-blind)
#91746C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c31;
/* rgb */ color: rgb(135, 124, 49);
/* oklch */ color: oklch(58.1% 0.096 101.0);
Tailwind
colors: {
  custom: {
    50: '#aca16d',
    500: '#877c31',
    950: '#000000',
  },
}
SCSS
$custom: #877c31;
$custom-light: #aca16d;
$custom-dark: #000000;
JSON
{
  "hex": "#877c31",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 49
  },
  "hsl": {
    "h": 52.326,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58084,
    "c": 0.09638,
    "h": 101
  },
  "luminance": 0.19788
}

Semantic roles & 50–950 ramp

primary
#877C31
secondary
#646DB0
accent
#62D651
background
#FAF9F6
surface
#F5F2EC
border
#CFCCC7
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #877C31

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

Preview Lab → · Contrast checker → · Palette generator →

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