#887C2F#887C2F

#887C2F is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.098 H 100.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#887C2F
RGBrgb(136, 124, 47)
HSLhsl(52, 49%, 36%)
HSVhsv(52, 65%, 53%)
CMYKcmyk(0%, 8.8%, 65.4%, 46.7%)
CIE-LABlab(51.67, -5.23, 42.39)
CIE-LCHlch(51.67, 42.71, 97.03°)
OKLaboklab(58.16% -0.0178 0.0965)
OKLCHoklch(58.16% 0.098 100.4)
XYZxyz(17.8748, 19.8555, 5.5797)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887C2F #2F3B88
analogous
#884F2F #887C2F #67882F
triadic
#887C2F #2F887C #7C2F88
tetradic
#887C2F #2F884F #2F3B88 #882F67
square
#887C2F #2F884F #2F3B88 #882F67
split-complementary
#887C2F #2F6788 #4F2F88
monochromatic
#2D2910 #5B531F #887C2F #B5A53F #CABD67

Accessibility & contrast

On white

4.22
#887C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#887C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887C2F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887C2F#FFFFFF#000000##000000
##887C2F1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877826
Deuteranopia (green-blind)
#8B7D33
Tritanopia (blue-blind)
#92736C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #887c2f;
/* rgb */ color: rgb(136, 124, 47);
/* oklch */ color: oklch(58.2% 0.098 100.4);
Tailwind
colors: {
  custom: {
    50: '#ada16b',
    500: '#887c2f',
    950: '#000000',
  },
}
SCSS
$custom: #887c2f;
$custom-light: #ada16b;
$custom-dark: #000000;
JSON
{
  "hex": "#887c2f",
  "rgb": {
    "r": 136,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 51.91,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58161,
    "c": 0.09813,
    "h": 100.4
  },
  "luminance": 0.19855
}

Semantic roles & 50–950 ramp

primary
#887C2F
secondary
#616CB1
accent
#62D850
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #887C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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