#887F1F#887F1F

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

Color values

HEX#887F1F
RGBrgb(136, 127, 31)
HSLhsl(55, 63%, 33%)
HSVhsv(55, 77%, 53%)
CMYKcmyk(0%, 6.6%, 77.2%, 46.7%)
CIE-LABlab(52.41, -7.80, 49.80)
CIE-LCHlch(52.41, 50.41, 98.90°)
OKLaboklab(58.71% -0.0269 0.1093)
OKLCHoklch(58.71% 0.113 103.8)
XYZxyz(17.9908, 20.5127, 4.3077)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F1F #1F2888
analogous
#884A1F #887F1F #5C881F
triadic
#887F1F #1F887F #7F1F88
tetradic
#887F1F #1F884A #1F2888 #881F5C
square
#887F1F #1F884A #1F2888 #881F5C
split-complementary
#887F1F #1F5C88 #4A1F88
monochromatic
#242208 #565014 #887F1F #BAAE2A #D6CA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887F1F#FFFFFF#000000##000000
##887F1F1.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)
#8B7B0B
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#93766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f1f;
/* rgb */ color: rgb(136, 127, 31);
/* oklch */ color: oklch(58.7% 0.113 103.8);
Tailwind
colors: {
  custom: {
    50: '#aea363',
    500: '#887f1f',
    950: '#000000',
  },
}
SCSS
$custom: #887f1f;
$custom-light: #aea363;
$custom-dark: #000000;
JSON
{
  "hex": "#887f1f",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 54.857,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58709,
    "c": 0.11251,
    "h": 103.8
  },
  "luminance": 0.20512
}

Semantic roles & 50–950 ramp

primary
#887F1F
secondary
#4A54B9
accent
#50E642
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #887F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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