#887B2A#887B2A

#887B2A is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.101 H 100.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#887B2A
RGBrgb(136, 123, 42)
HSLhsl(52, 53%, 35%)
HSVhsv(52, 69%, 53%)
CMYKcmyk(0%, 9.6%, 69.1%, 46.7%)
CIE-LABlab(51.35, -5.00, 44.32)
CIE-LCHlch(51.35, 44.60, 96.43°)
OKLaboklab(57.89% -0.0177 0.0997)
OKLCHoklch(57.89% 0.101 100.1)
XYZxyz(17.6550, 19.5681, 5.0371)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887B2A #2A3788
analogous
#884C2A #887B2A #66882A
triadic
#887B2A #2A887B #7B2A88
tetradic
#887B2A #2A884C #2A3788 #882A66
square
#887B2A #2A884C #2A3788 #882A66
split-complementary
#887B2A #2A6688 #4C2A88
monochromatic
#2A260D #59511C #887B2A #B7A538 #CEBE5F

Accessibility & contrast

On white

4.27
#887B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#887B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887B2A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887B2A#FFFFFF#000000##000000
##887B2A1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781F
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#93726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #887b2a;
/* rgb */ color: rgb(136, 123, 42);
/* oklch */ color: oklch(57.9% 0.101 100.1);
Tailwind
colors: {
  custom: {
    50: '#aea068',
    500: '#887b2a',
    950: '#000000',
  },
}
SCSS
$custom: #887b2a;
$custom-light: #aea068;
$custom-dark: #000000;
JSON
{
  "hex": "#887b2a",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 51.702,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57887,
    "c": 0.1013,
    "h": 100.1
  },
  "luminance": 0.19567
}

Semantic roles & 50–950 ramp

primary
#887B2A
secondary
#5B67B3
accent
#60DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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