#887B2B#887B2B

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

Color values

HEX#887B2B
RGBrgb(136, 123, 43)
HSLhsl(52, 52%, 35%)
HSVhsv(52, 68%, 53%)
CMYKcmyk(0%, 9.6%, 68.4%, 46.7%)
CIE-LABlab(51.35, -4.93, 43.88)
CIE-LCHlch(51.35, 44.16, 96.42°)
OKLaboklab(57.9% -0.0174 0.099)
OKLCHoklch(57.9% 0.101 100)
XYZxyz(17.6731, 19.5754, 5.1325)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887B2B #2B3888
analogous
#884D2B #887B2B #66882B
triadic
#887B2B #2B887B #7B2B88
tetradic
#887B2B #2B884D #2B3888 #882B66
square
#887B2B #2B884D #2B3888 #882B66
split-complementary
#887B2B #2B6688 #4D2B88
monochromatic
#2B270E #5A511C #887B2B #B6A53A #CDBE61

Accessibility & contrast

On white

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

On black

4.92
#887B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887B2B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887B2B#FFFFFF#000000##000000
##887B2B1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877821
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#92726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #887b2b;
/* rgb */ color: rgb(136, 123, 43);
/* oklch */ color: oklch(57.9% 0.101 100.0);
Tailwind
colors: {
  custom: {
    50: '#aea069',
    500: '#887b2b',
    950: '#000000',
  },
}
SCSS
$custom: #887b2b;
$custom-light: #aea069;
$custom-dark: #000000;
JSON
{
  "hex": "#887b2b",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 51.613,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57896,
    "c": 0.10051,
    "h": 100
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

primary
#887B2B
secondary
#5C68B3
accent
#60DB4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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