#887A1B#887A1B

#887A1B is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.110 H 100.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#887A1B
RGBrgb(136, 122, 27)
HSLhsl(52, 67%, 32%)
HSVhsv(52, 80%, 53%)
CMYKcmyk(0%, 10.3%, 80.1%, 46.7%)
CIE-LABlab(50.96, -5.19, 49.88)
CIE-LCHlch(50.96, 50.14, 95.94°)
OKLaboklab(57.55% -0.0199 0.1086)
OKLCHoklch(57.55% 0.11 100.4)
XYZxyz(17.3116, 19.2333, 3.8372)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887A1B #1B2988
analogous
#88441B #887A1B #5F881B
triadic
#887A1B #1B887A #7A1B88
tetradic
#887A1B #1B8844 #1B2988 #881B5F
square
#887A1B #1B8844 #1B2988 #881B5F
split-complementary
#887A1B #1B5F88 #441B88
monochromatic
#221E07 #554C11 #887A1B #BBA825 #DAC744

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887A1B#FFFFFF#000000##000000
##887A1B1.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)
#867604
Deuteranopia (green-blind)
#8A7C22
Tritanopia (blue-blind)
#937068
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #887a1b;
/* rgb */ color: rgb(136, 122, 27);
/* oklch */ color: oklch(57.5% 0.110 100.4);
Tailwind
colors: {
  custom: {
    50: '#aea060',
    500: '#887a1b',
    950: '#000000',
  },
}
SCSS
$custom: #887a1b;
$custom-light: #aea060;
$custom-dark: #000000;
JSON
{
  "hex": "#887a1b",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 52.294,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57548,
    "c": 0.11039,
    "h": 100.4
  },
  "luminance": 0.19232
}

Semantic roles & 50–950 ramp

primary
#887A1B
secondary
#4453BB
accent
#54EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #887A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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