#887331#887331

#887331 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 56.2% C 0.089 H 91.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#887331
RGBrgb(136, 115, 49)
HSLhsl(46, 47%, 36%)
HSVhsv(46, 64%, 53%)
CMYKcmyk(0%, 15.4%, 64%, 46.7%)
CIE-LABlab(49.15, -0.01, 38.68)
CIE-LCHlch(49.15, 38.68, 90.01°)
OKLaboklab(56.17% -0.0025 0.0889)
OKLCHoklch(56.17% 0.089 91.6)
XYZxyz(16.8392, 17.7184, 5.4382)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887331 #314688
analogous
#884831 #887331 #728831
triadic
#887331 #318873 #733188
tetradic
#887331 #318848 #314688 #883172
square
#887331 #318848 #314688 #883172
split-complementary
#887331 #317288 #483188
monochromatic
#2E2711 #5B4D21 #887331 #B59941 #C9B26A

Accessibility & contrast

On white

4.62
#887331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#887331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #887331
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887331#FFFFFF#000000##FFFFFF
##8873311.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712A
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#936A65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #887331;
/* rgb */ color: rgb(136, 115, 49);
/* oklch */ color: oklch(56.2% 0.089 91.6);
Tailwind
colors: {
  custom: {
    50: '#ad9b6c',
    500: '#887331',
    950: '#000000',
  },
}
SCSS
$custom: #887331;
$custom-light: #ad9b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#887331",
  "rgb": {
    "r": 136,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 45.517,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56172,
    "c": 0.08895,
    "h": 91.6
  },
  "luminance": 0.17717
}

Semantic roles & 50–950 ramp

primary
#887331
secondary
#6477B1
accent
#71D751
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #887331

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

Preview Lab → · Contrast checker → · Palette generator →

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