#887F1D#887F1D

#887F1D is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.114 H 103.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#887F1D
RGBrgb(136, 127, 29)
HSLhsl(55, 65%, 32%)
HSVhsv(55, 79%, 53%)
CMYKcmyk(0%, 6.6%, 78.7%, 46.7%)
CIE-LABlab(52.40, -7.88, 50.50)
CIE-LCHlch(52.40, 51.11, 98.87°)
OKLaboklab(58.7% -0.0273 0.1103)
OKLCHoklch(58.7% 0.114 103.9)
XYZxyz(17.9653, 20.5024, 4.1732)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F1D #1D2688
analogous
#88491D #887F1D #5C881D
triadic
#887F1D #1D887F #7F1D88
tetradic
#887F1D #1D8849 #1D2688 #881D5C
square
#887F1D #1D8849 #1D2688 #881D5C
split-complementary
#887F1D #1D5C88 #491D88
monochromatic
#232107 #565012 #887F1D #BAAE28 #D8CC48

Accessibility & contrast

On white

4.12
#887F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#887F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887F1D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887F1D#FFFFFF#000000##000000
##887F1D1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A06
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#93766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f1d;
/* rgb */ color: rgb(136, 127, 29);
/* oklch */ color: oklch(58.7% 0.114 103.9);
Tailwind
colors: {
  custom: {
    50: '#aea362',
    500: '#887f1d',
    950: '#000000',
  },
}
SCSS
$custom: #887f1d;
$custom-light: #aea362;
$custom-dark: #000000;
JSON
{
  "hex": "#887f1d",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 54.953,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58697,
    "c": 0.11366,
    "h": 103.9
  },
  "luminance": 0.20502
}

Semantic roles & 50–950 ramp

primary
#887F1D
secondary
#4751BA
accent
#4EE840
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #887F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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