#887D31#887D31

#887D31 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.097 H 101.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#887D31
RGBrgb(136, 125, 49)
HSLhsl(52, 47%, 36%)
HSVhsv(52, 64%, 53%)
CMYKcmyk(0%, 8.1%, 64%, 46.7%)
CIE-LABlab(51.98, -5.65, 41.78)
CIE-LCHlch(51.98, 42.16, 97.70°)
OKLaboklab(58.41% -0.0187 0.0955)
OKLCHoklch(58.41% 0.097 101.1)
XYZxyz(18.0420, 20.1240, 5.8391)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887D31 #313C88
analogous
#885231 #887D31 #688831
triadic
#887D31 #31887D #7D3188
tetradic
#887D31 #318852 #313C88 #883168
square
#887D31 #318852 #313C88 #883168
split-complementary
#887D31 #316888 #523188
monochromatic
#2E2A11 #5B5421 #887D31 #B5A641 #C9BD6A

Accessibility & contrast

On white

4.18
#887D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#887D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887D31
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887D31#FFFFFF#000000##000000
##887D311.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887928
Deuteranopia (green-blind)
#8B7E35
Tritanopia (blue-blind)
#92746D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887d31;
/* rgb */ color: rgb(136, 125, 49);
/* oklch */ color: oklch(58.4% 0.097 101.1);
Tailwind
colors: {
  custom: {
    50: '#ada26d',
    500: '#887d31',
    950: '#000000',
  },
}
SCSS
$custom: #887d31;
$custom-light: #ada26d;
$custom-dark: #000000;
JSON
{
  "hex": "#887d31",
  "rgb": {
    "r": 136,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 52.414,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.09734,
    "h": 101.1
  },
  "luminance": 0.20123
}

Semantic roles & 50–950 ramp

primary
#887D31
secondary
#646EB1
accent
#62D751
background
#FAF9F6
surface
#F5F2EC
border
#CFCCC7
text
#110F07
muted
#807E7A

Preview Lab

Preview with #887D31

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

Preview Lab → · Contrast checker → · Palette generator →

#887D31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva