#887B24#887B24

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

Color values

HEX#887B24
RGBrgb(136, 123, 36)
HSLhsl(52, 58%, 34%)
HSVhsv(52, 74%, 53%)
CMYKcmyk(0%, 9.6%, 73.5%, 46.7%)
CIE-LABlab(51.30, -5.34, 46.82)
CIE-LCHlch(51.30, 47.12, 96.50°)
OKLaboklab(57.84% -0.0194 0.1039)
OKLCHoklch(57.84% 0.106 100.6)
XYZxyz(17.5555, 19.5283, 4.5134)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887B24 #243188
analogous
#884924 #887B24 #638824
triadic
#887B24 #24887B #7B2488
tetradic
#887B24 #248849 #243188 #882463
square
#887B24 #248849 #243188 #882463
split-complementary
#887B24 #246388 #492488
monochromatic
#27230A #584F17 #887B24 #B8A731 #D2C255

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887B24#FFFFFF#000000##000000
##887B241.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)
#877716
Deuteranopia (green-blind)
#8B7C2A
Tritanopia (blue-blind)
#93726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #887b24;
/* rgb */ color: rgb(136, 123, 36);
/* oklch */ color: oklch(57.8% 0.106 100.6);
Tailwind
colors: {
  custom: {
    50: '#aea065',
    500: '#887b24',
    950: '#000000',
  },
}
SCSS
$custom: #887b24;
$custom-light: #aea065;
$custom-dark: #000000;
JSON
{
  "hex": "#887b24",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 52.2,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57836,
    "c": 0.1057,
    "h": 100.6
  },
  "luminance": 0.19528
}

Semantic roles & 50–950 ramp

primary
#887B24
secondary
#525FB6
accent
#5BE146
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887B24

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

Preview Lab → · Contrast checker → · Palette generator →

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