#887D1F#887D1F

#887D1F is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.111 H 102.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#887D1F
RGBrgb(136, 125, 31)
HSLhsl(54, 63%, 33%)
HSVhsv(54, 77%, 53%)
CMYKcmyk(0%, 8.1%, 77.2%, 46.7%)
CIE-LABlab(51.84, -6.69, 49.27)
CIE-LCHlch(51.84, 49.72, 97.73°)
OKLaboklab(58.25% -0.0238 0.1081)
OKLCHoklch(58.25% 0.111 102.4)
XYZxyz(17.7351, 20.0012, 4.2225)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887D1F #1F2A88
analogous
#88481F #887D1F #5F881F
triadic
#887D1F #1F887D #7D1F88
tetradic
#887D1F #1F8848 #1F2A88 #881F5F
square
#887D1F #1F8848 #1F2A88 #881F5F
split-complementary
#887D1F #1F5F88 #481F88
monochromatic
#242108 #564F14 #887D1F #BAAB2A #D6C84B

Accessibility & contrast

On white

4.20
#887D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#887D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887D1F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887D1F#FFFFFF#000000##000000
##887D1F1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#8C7E26
Tritanopia (blue-blind)
#93746B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887d1f;
/* rgb */ color: rgb(136, 125, 31);
/* oklch */ color: oklch(58.3% 0.111 102.4);
Tailwind
colors: {
  custom: {
    50: '#aea263',
    500: '#887d1f',
    950: '#000000',
  },
}
SCSS
$custom: #887d1f;
$custom-light: #aea263;
$custom-dark: #000000;
JSON
{
  "hex": "#887d1f",
  "rgb": {
    "r": 136,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 53.714,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58253,
    "c": 0.11069,
    "h": 102.4
  },
  "luminance": 0.2
}

Semantic roles & 50–950 ramp

primary
#887D1F
secondary
#4A56B9
accent
#53E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #887D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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