#887A1F#887A1F

#887A1F is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.108 H 100.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#887A1F
RGBrgb(136, 122, 31)
HSLhsl(52, 63%, 33%)
HSVhsv(52, 77%, 53%)
CMYKcmyk(0%, 10.3%, 77.2%, 46.7%)
CIE-LABlab(50.98, -5.02, 48.46)
CIE-LCHlch(50.98, 48.72, 95.92°)
OKLaboklab(57.57% -0.019 0.1064)
OKLCHoklch(57.57% 0.108 100.2)
XYZxyz(17.3610, 19.2531, 4.0978)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887A1F #1F2D88
analogous
#88451F #887A1F #61881F
triadic
#887A1F #1F887A #7A1F88
tetradic
#887A1F #1F8845 #1F2D88 #881F61
square
#887A1F #1F8845 #1F2D88 #881F61
split-complementary
#887A1F #1F6188 #451F88
monochromatic
#242108 #564D14 #887A1F #BAA72A #D6C44B

Accessibility & contrast

On white

4.33
#887A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#887A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887A1F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887A1F#FFFFFF#000000##000000
##887A1F1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760D
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#937169
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #887a1f;
/* rgb */ color: rgb(136, 122, 31);
/* oklch */ color: oklch(57.6% 0.108 100.2);
Tailwind
colors: {
  custom: {
    50: '#aea062',
    500: '#887a1f',
    950: '#000000',
  },
}
SCSS
$custom: #887a1f;
$custom-light: #aea062;
$custom-dark: #000000;
JSON
{
  "hex": "#887a1f",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 52,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57573,
    "c": 0.10809,
    "h": 100.2
  },
  "luminance": 0.19252
}

Semantic roles & 50–950 ramp

primary
#887A1F
secondary
#4A59B9
accent
#58E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #887A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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