#887B2E#887B2E

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

Color values

HEX#887B2E
RGBrgb(136, 123, 46)
HSLhsl(51, 49%, 36%)
HSVhsv(51, 66%, 53%)
CMYKcmyk(0%, 9.6%, 66.2%, 46.7%)
CIE-LABlab(51.38, -4.74, 42.54)
CIE-LCHlch(51.38, 42.80, 96.36°)
OKLaboklab(57.93% -0.0165 0.0967)
OKLCHoklch(57.93% 0.098 99.7)
XYZxyz(17.7302, 19.5982, 5.4331)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887B2E #2E3B88
analogous
#884E2E #887B2E #68882E
triadic
#887B2E #2E887B #7B2E88
tetradic
#887B2E #2E884E #2E3B88 #882E68
square
#887B2E #2E884E #2E3B88 #882E68
split-complementary
#887B2E #2E6888 #4E2E88
monochromatic
#2D280F #5A521F #887B2E #B6A43D #CBBC65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887B2E#FFFFFF#000000##000000
##887B2E1.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)
#877825
Deuteranopia (green-blind)
#8A7D32
Tritanopia (blue-blind)
#92726B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #887b2e;
/* rgb */ color: rgb(136, 123, 46);
/* oklch */ color: oklch(57.9% 0.098 99.7);
Tailwind
colors: {
  custom: {
    50: '#ada06b',
    500: '#887b2e',
    950: '#000000',
  },
}
SCSS
$custom: #887b2e;
$custom-light: #ada06b;
$custom-dark: #000000;
JSON
{
  "hex": "#887b2e",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 51.333,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57925,
    "c": 0.09806,
    "h": 99.7
  },
  "luminance": 0.19597
}

Semantic roles & 50–950 ramp

primary
#887B2E
secondary
#606CB2
accent
#63D94F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #887B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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