#887D2F#887D2F

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

Color values

HEX#887D2F
RGBrgb(136, 125, 47)
HSLhsl(53, 49%, 36%)
HSVhsv(53, 65%, 53%)
CMYKcmyk(0%, 8.1%, 65.4%, 46.7%)
CIE-LABlab(51.96, -5.79, 42.70)
CIE-LCHlch(51.96, 43.09, 97.72°)
OKLaboklab(58.39% -0.0194 0.0972)
OKLCHoklch(58.39% 0.099 101.3)
XYZxyz(18.0008, 20.1075, 5.6217)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887D2F #2F3A88
analogous
#88502F #887D2F #66882F
triadic
#887D2F #2F887D #7D2F88
tetradic
#887D2F #2F8850 #2F3A88 #882F66
square
#887D2F #2F8850 #2F3A88 #882F66
split-complementary
#887D2F #2F6688 #502F88
monochromatic
#2D2910 #5B531F #887D2F #B5A73F #CABE67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887D2F#FFFFFF#000000##000000
##887D2F1.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)
#887926
Deuteranopia (green-blind)
#8C7E33
Tritanopia (blue-blind)
#92746D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887d2f;
/* rgb */ color: rgb(136, 125, 47);
/* oklch */ color: oklch(58.4% 0.099 101.3);
Tailwind
colors: {
  custom: {
    50: '#ada26b',
    500: '#887d2f',
    950: '#000000',
  },
}
SCSS
$custom: #887d2f;
$custom-light: #ada26b;
$custom-dark: #000000;
JSON
{
  "hex": "#887d2f",
  "rgb": {
    "r": 136,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 52.584,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58387,
    "c": 0.09906,
    "h": 101.3
  },
  "luminance": 0.20107
}

Semantic roles & 50–950 ramp

primary
#887D2F
secondary
#616BB1
accent
#60D850
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #887D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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