#877431#877431

#877431 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.3% C 0.089 H 93.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#877431
RGBrgb(135, 116, 49)
HSLhsl(47, 47%, 36%)
HSVhsv(47, 64%, 53%)
CMYKcmyk(0%, 14.1%, 63.7%, 47.1%)
CIE-LABlab(49.33, -1.04, 38.85)
CIE-LCHlch(49.33, 38.86, 91.53°)
OKLaboklab(56.29% -0.0054 0.0893)
OKLCHoklch(56.29% 0.089 93.5)
XYZxyz(16.7922, 17.8643, 5.4688)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877431 #314487
analogous
#874931 #877431 #6F8731
triadic
#877431 #318774 #743187
tetradic
#877431 #318749 #314487 #87316F
square
#877431 #318749 #314487 #87316F
split-complementary
#877431 #316F87 #493187
monochromatic
#2D2710 #5A4D21 #877431 #B49B41 #C9B46A

Accessibility & contrast

On white

4.59
#877431 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#877431 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #877431
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877431#FFFFFF#000000##FFFFFF
##8774311.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80722A
Deuteranopia (green-blind)
#847834
Tritanopia (blue-blind)
#926B65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #877431;
/* rgb */ color: rgb(135, 116, 49);
/* oklch */ color: oklch(56.3% 0.089 93.5);
Tailwind
colors: {
  custom: {
    50: '#ad9b6c',
    500: '#877431',
    950: '#000000',
  },
}
SCSS
$custom: #877431;
$custom-light: #ad9b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#877431",
  "rgb": {
    "r": 135,
    "g": 116,
    "b": 49
  },
  "hsl": {
    "h": 46.744,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56289,
    "c": 0.08946,
    "h": 93.5
  },
  "luminance": 0.17863
}

Semantic roles & 50–950 ramp

primary
#877431
secondary
#6475B0
accent
#6FD651
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #877431

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

Preview Lab → · Contrast checker → · Palette generator →

#877431 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva