#887C2A#887C2A

#887C2A is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.102 H 100.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#887C2A
RGBrgb(136, 124, 42)
HSLhsl(52, 53%, 35%)
HSVhsv(52, 69%, 53%)
CMYKcmyk(0%, 8.8%, 69.1%, 46.7%)
CIE-LABlab(51.63, -5.55, 44.61)
CIE-LCHlch(51.63, 44.95, 97.10°)
OKLaboklab(58.11% -0.0193 0.1004)
OKLCHoklch(58.11% 0.102 100.9)
XYZxyz(17.7797, 19.8175, 5.0787)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887C2A #2A3688
analogous
#884D2A #887C2A #65882A
triadic
#887C2A #2A887C #7C2A88
tetradic
#887C2A #2A884D #2A3688 #882A65
square
#887C2A #2A884D #2A3688 #882A65
split-complementary
#887C2A #2A6588 #4D2A88
monochromatic
#2A270D #59511C #887C2A #B7A738 #CEBF5F

Accessibility & contrast

On white

4.23
#887C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#887C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887C2A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887C2A#FFFFFF#000000##000000
##887C2A1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781F
Deuteranopia (green-blind)
#8B7D2F
Tritanopia (blue-blind)
#92736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #887c2a;
/* rgb */ color: rgb(136, 124, 42);
/* oklch */ color: oklch(58.1% 0.102 100.9);
Tailwind
colors: {
  custom: {
    50: '#aea168',
    500: '#887c2a',
    950: '#000000',
  },
}
SCSS
$custom: #887c2a;
$custom-light: #aea168;
$custom-dark: #000000;
JSON
{
  "hex": "#887c2a",
  "rgb": {
    "r": 136,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 52.34,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58113,
    "c": 0.1022,
    "h": 100.9
  },
  "luminance": 0.19817
}

Semantic roles & 50–950 ramp

primary
#887C2A
secondary
#5B66B3
accent
#5EDC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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