#887E1F#887E1F

#887E1F is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.112 H 103.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#887E1F
RGBrgb(136, 126, 31)
HSLhsl(54, 63%, 33%)
HSVhsv(54, 77%, 53%)
CMYKcmyk(0%, 7.4%, 77.2%, 46.7%)
CIE-LABlab(52.13, -7.24, 49.53)
CIE-LCHlch(52.13, 50.06, 98.32°)
OKLaboklab(58.48% -0.0253 0.1087)
OKLCHoklch(58.48% 0.112 103.1)
XYZxyz(17.8623, 20.2556, 4.2649)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887E1F #1F2988
analogous
#884A1F #887E1F #5D881F
triadic
#887E1F #1F887E #7E1F88
tetradic
#887E1F #1F884A #1F2988 #881F5D
square
#887E1F #1F884A #1F2988 #881F5D
split-complementary
#887E1F #1F5D88 #4A1F88
monochromatic
#242208 #565014 #887E1F #BAAC2A #D6C94B

Accessibility & contrast

On white

4.16
#887E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#887E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887E1F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887E1F#FFFFFF#000000##000000
##887E1F1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0B
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#93756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887e1f;
/* rgb */ color: rgb(136, 126, 31);
/* oklch */ color: oklch(58.5% 0.112 103.1);
Tailwind
colors: {
  custom: {
    50: '#aea363',
    500: '#887e1f',
    950: '#000000',
  },
}
SCSS
$custom: #887e1f;
$custom-light: #aea363;
$custom-dark: #000000;
JSON
{
  "hex": "#887e1f",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 54.286,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58481,
    "c": 0.11159,
    "h": 103.1
  },
  "luminance": 0.20255
}

Semantic roles & 50–950 ramp

primary
#887E1F
secondary
#4A55B9
accent
#51E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #887E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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