#887B27#887B27

#887B27 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.104 H 100.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#887B27
RGBrgb(136, 123, 39)
HSLhsl(52, 55%, 34%)
HSVhsv(52, 71%, 53%)
CMYKcmyk(0%, 9.6%, 71.3%, 46.7%)
CIE-LABlab(51.32, -5.17, 45.59)
CIE-LCHlch(51.32, 45.88, 96.47°)
OKLaboklab(57.86% -0.0186 0.1019)
OKLCHoklch(57.86% 0.104 100.3)
XYZxyz(17.6033, 19.5474, 4.7649)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887B27 #273488
analogous
#884B27 #887B27 #658827
triadic
#887B27 #27887B #7B2788
tetradic
#887B27 #27884B #273488 #882765
square
#887B27 #27884B #273488 #882765
split-complementary
#887B27 #276588 #4B2788
monochromatic
#29250C #585019 #887B27 #B8A635 #D0C05A

Accessibility & contrast

On white

4.28
#887B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#887B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887B27
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887B27#FFFFFF#000000##000000
##887B271.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87771B
Deuteranopia (green-blind)
#8B7C2C
Tritanopia (blue-blind)
#93726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #887b27;
/* rgb */ color: rgb(136, 123, 39);
/* oklch */ color: oklch(57.9% 0.104 100.3);
Tailwind
colors: {
  custom: {
    50: '#aea067',
    500: '#887b27',
    950: '#000000',
  },
}
SCSS
$custom: #887b27;
$custom-light: #aea067;
$custom-dark: #000000;
JSON
{
  "hex": "#887b27",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 39
  },
  "hsl": {
    "h": 51.959,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5786,
    "c": 0.10357,
    "h": 100.3
  },
  "luminance": 0.19547
}

Semantic roles & 50–950 ramp

primary
#887B27
secondary
#5663B5
accent
#5DDF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887B27

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

Preview Lab → · Contrast checker → · Palette generator →

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