#887C1F#887C1F

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

Color values

HEX#887C1F
RGBrgb(136, 124, 31)
HSLhsl(53, 63%, 33%)
HSVhsv(53, 77%, 53%)
CMYKcmyk(0%, 8.8%, 77.2%, 46.7%)
CIE-LABlab(51.55, -6.14, 49.00)
CIE-LCHlch(51.55, 49.38, 97.14°)
OKLaboklab(58.03% -0.0222 0.1075)
OKLCHoklch(58.03% 0.11 101.7)
XYZxyz(17.6091, 19.7493, 4.1805)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887C1F #1F2B88
analogous
#88481F #887C1F #5F881F
triadic
#887C1F #1F887C #7C1F88
tetradic
#887C1F #1F8848 #1F2B88 #881F5F
square
#887C1F #1F8848 #1F2B88 #881F5F
split-complementary
#887C1F #1F5F88 #481F88
monochromatic
#242108 #564F14 #887C1F #BAA92A #D6C64B

Accessibility & contrast

On white

4.24
#887C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##887C1F#FFFFFF#000000##000000
##887C1F1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#93736A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #887c1f;
/* rgb */ color: rgb(136, 124, 31);
/* oklch */ color: oklch(58.0% 0.110 101.7);
Tailwind
colors: {
  custom: {
    50: '#aea162',
    500: '#887c1f',
    950: '#000000',
  },
}
SCSS
$custom: #887c1f;
$custom-light: #aea162;
$custom-dark: #000000;
JSON
{
  "hex": "#887c1f",
  "rgb": {
    "r": 136,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 53.143,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58026,
    "c": 0.10981,
    "h": 101.7
  },
  "luminance": 0.19748
}

Semantic roles & 50–950 ramp

primary
#887C1F
secondary
#4A57B9
accent
#55E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #887C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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