#887D2D#887D2D

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

Color values

HEX#887D2D
RGBrgb(136, 125, 45)
HSLhsl(53, 50%, 35%)
HSVhsv(53, 67%, 53%)
CMYKcmyk(0%, 8.1%, 66.9%, 46.7%)
CIE-LABlab(51.94, -5.92, 43.59)
CIE-LCHlch(51.94, 43.99, 97.74°)
OKLaboklab(58.37% -0.02 0.0987)
OKLCHoklch(58.37% 0.101 101.5)
XYZxyz(17.9613, 20.0917, 5.4141)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887D2D #2D3888
analogous
#884F2D #887D2D #65882D
triadic
#887D2D #2D887D #7D2D88
tetradic
#887D2D #2D884F #2D3888 #882D65
square
#887D2D #2D884F #2D3888 #882D65
split-complementary
#887D2D #2D6588 #4F2D88
monochromatic
#2C280F #5A531E #887D2D #B6A73C #CCBF64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887D2D#FFFFFF#000000##000000
##887D2D1.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)
#887923
Deuteranopia (green-blind)
#8C7E32
Tritanopia (blue-blind)
#92746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887d2d;
/* rgb */ color: rgb(136, 125, 45);
/* oklch */ color: oklch(58.4% 0.101 101.5);
Tailwind
colors: {
  custom: {
    50: '#ada26a',
    500: '#887d2d',
    950: '#000000',
  },
}
SCSS
$custom: #887d2d;
$custom-light: #ada26a;
$custom-dark: #000000;
JSON
{
  "hex": "#887d2d",
  "rgb": {
    "r": 136,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 52.747,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58367,
    "c": 0.10074,
    "h": 101.5
  },
  "luminance": 0.20091
}

Semantic roles & 50–950 ramp

primary
#887D2D
secondary
#5F69B2
accent
#5FDA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #887D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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