#887C1B#887C1B

#887C1B is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.0% C 0.112 H 101.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#887C1B
RGBrgb(136, 124, 27)
HSLhsl(53, 67%, 32%)
HSVhsv(53, 80%, 53%)
CMYKcmyk(0%, 8.8%, 80.1%, 46.7%)
CIE-LABlab(51.53, -6.31, 50.39)
CIE-LCHlch(51.53, 50.78, 97.13°)
OKLaboklab(58% -0.0231 0.1097)
OKLCHoklch(58% 0.112 101.9)
XYZxyz(17.5597, 19.7295, 3.9199)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887C1B #1B2788
analogous
#88451B #887C1B #5E881B
triadic
#887C1B #1B887C #7C1B88
tetradic
#887C1B #1B8845 #1B2788 #881B5E
square
#887C1B #1B8845 #1B2788 #881B5E
split-complementary
#887C1B #1B5E88 #451B88
monochromatic
#221F07 #554D11 #887C1B #BBAB25 #DAC944

Accessibility & contrast

On white

4.25
#887C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#887C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887C1B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887C1B#FFFFFF#000000##000000
##887C1B1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887803
Deuteranopia (green-blind)
#8C7D22
Tritanopia (blue-blind)
#93736A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #887c1b;
/* rgb */ color: rgb(136, 124, 27);
/* oklch */ color: oklch(58.0% 0.112 101.9);
Tailwind
colors: {
  custom: {
    50: '#aea161',
    500: '#887c1b',
    950: '#000000',
  },
}
SCSS
$custom: #887c1b;
$custom-light: #aea161;
$custom-dark: #000000;
JSON
{
  "hex": "#887c1b",
  "rgb": {
    "r": 136,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 53.394,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58001,
    "c": 0.11208,
    "h": 101.9
  },
  "luminance": 0.19729
}

Semantic roles & 50–950 ramp

primary
#887C1B
secondary
#4451BB
accent
#51EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #887C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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