#887A2A#887A2A

#887A2A is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.100 H 99.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#887A2A
RGBrgb(136, 122, 42)
HSLhsl(51, 53%, 35%)
HSVhsv(51, 69%, 53%)
CMYKcmyk(0%, 10.3%, 69.1%, 46.7%)
CIE-LABlab(51.06, -4.44, 44.02)
CIE-LCHlch(51.06, 44.24, 95.76°)
OKLaboklab(57.66% -0.0161 0.0991)
OKLCHoklch(57.66% 0.1 99.2)
XYZxyz(17.5316, 19.3213, 4.9960)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887A2A #2A3888
analogous
#884B2A #887A2A #67882A
triadic
#887A2A #2A887A #7A2A88
tetradic
#887A2A #2A884B #2A3888 #882A67
square
#887A2A #2A884B #2A3888 #882A67
split-complementary
#887A2A #2A6788 #4B2A88
monochromatic
#2A260D #59501C #887A2A #B7A438 #CEBD5F

Accessibility & contrast

On white

4.32
#887A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#887A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887A2A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887A2A#FFFFFF#000000##000000
##887A2A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #887a2a;
/* rgb */ color: rgb(136, 122, 42);
/* oklch */ color: oklch(57.7% 0.100 99.2);
Tailwind
colors: {
  custom: {
    50: '#aea068',
    500: '#887a2a',
    950: '#000000',
  },
}
SCSS
$custom: #887a2a;
$custom-light: #aea068;
$custom-dark: #000000;
JSON
{
  "hex": "#887a2a",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 51.064,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57661,
    "c": 0.10042,
    "h": 99.2
  },
  "luminance": 0.1932
}

Semantic roles & 50–950 ramp

primary
#887A2A
secondary
#5B68B3
accent
#61DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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