#887F24#887F24

#887F24 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.109 H 103.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#887F24
RGBrgb(136, 127, 36)
HSLhsl(55, 58%, 34%)
HSVhsv(55, 74%, 53%)
CMYKcmyk(0%, 6.6%, 73.5%, 46.7%)
CIE-LABlab(52.44, -7.55, 47.94)
CIE-LCHlch(52.44, 48.53, 98.96°)
OKLaboklab(58.74% -0.0257 0.1063)
OKLCHoklch(58.74% 0.109 103.6)
XYZxyz(18.0619, 20.5411, 4.6821)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F24 #242D88
analogous
#884D24 #887F24 #5F8824
triadic
#887F24 #24887F #7F2488
tetradic
#887F24 #24884D #242D88 #88245F
square
#887F24 #24884D #242D88 #88245F
split-complementary
#887F24 #245F88 #4D2488
monochromatic
#27250A #585217 #887F24 #B8AC31 #D2C755

Accessibility & contrast

On white

4.11
#887F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#887F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887F24
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887F24#FFFFFF#000000##000000
##887F241.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B15
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#93766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f24;
/* rgb */ color: rgb(136, 127, 36);
/* oklch */ color: oklch(58.7% 0.109 103.6);
Tailwind
colors: {
  custom: {
    50: '#aea365',
    500: '#887f24',
    950: '#000000',
  },
}
SCSS
$custom: #887f24;
$custom-light: #aea365;
$custom-dark: #000000;
JSON
{
  "hex": "#887f24",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 36
  },
  "hsl": {
    "h": 54.6,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58744,
    "c": 0.10934,
    "h": 103.6
  },
  "luminance": 0.2054
}

Semantic roles & 50–950 ramp

primary
#887F24
secondary
#525BB6
accent
#54E146
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #887F24

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

Preview Lab → · Contrast checker → · Palette generator →

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