#887C2B#887C2B

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

Color values

HEX#887C2B
RGBrgb(136, 124, 43)
HSLhsl(52, 52%, 35%)
HSVhsv(52, 68%, 53%)
CMYKcmyk(0%, 8.8%, 68.4%, 46.7%)
CIE-LABlab(51.64, -5.49, 44.18)
CIE-LCHlch(51.64, 44.52, 97.09°)
OKLaboklab(58.12% -0.019 0.0996)
OKLCHoklch(58.12% 0.101 100.8)
XYZxyz(17.7978, 19.8247, 5.1741)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887C2B #2B3788
analogous
#884D2B #887C2B #65882B
triadic
#887C2B #2B887C #7C2B88
tetradic
#887C2B #2B884D #2B3788 #882B65
square
#887C2B #2B884D #2B3788 #882B65
split-complementary
#887C2B #2B6588 #4D2B88
monochromatic
#2B270E #5A521C #887C2B #B6A63A #CDBF61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887C2B#FFFFFF#000000##000000
##887C2B1.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)
#887820
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#92736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #887c2b;
/* rgb */ color: rgb(136, 124, 43);
/* oklch */ color: oklch(58.1% 0.101 100.8);
Tailwind
colors: {
  custom: {
    50: '#aea169',
    500: '#887c2b',
    950: '#000000',
  },
}
SCSS
$custom: #887c2b;
$custom-light: #aea169;
$custom-dark: #000000;
JSON
{
  "hex": "#887c2b",
  "rgb": {
    "r": 136,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 52.258,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58122,
    "c": 0.10142,
    "h": 100.8
  },
  "luminance": 0.19824
}

Semantic roles & 50–950 ramp

primary
#887C2B
secondary
#5C67B3
accent
#5FDB4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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