#887D24#887D24

#887D24 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.107 H 102.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#887D24
RGBrgb(136, 125, 36)
HSLhsl(53, 58%, 34%)
HSVhsv(53, 74%, 53%)
CMYKcmyk(0%, 8.1%, 73.5%, 46.7%)
CIE-LABlab(51.87, -6.45, 47.38)
CIE-LCHlch(51.87, 47.81, 97.75°)
OKLaboklab(58.29% -0.0225 0.1051)
OKLCHoklch(58.29% 0.107 102.1)
XYZxyz(17.8062, 20.0296, 4.5969)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887D24 #242F88
analogous
#884B24 #887D24 #618824
triadic
#887D24 #24887D #7D2488
tetradic
#887D24 #24884B #242F88 #882461
square
#887D24 #24884B #242F88 #882461
split-complementary
#887D24 #246188 #4B2488
monochromatic
#27240A #585117 #887D24 #B8A931 #D2C455

Accessibility & contrast

On white

4.20
#887D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#887D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887D24
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887D24#FFFFFF#000000##000000
##887D241.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897915
Deuteranopia (green-blind)
#8C7E2A
Tritanopia (blue-blind)
#93746B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887d24;
/* rgb */ color: rgb(136, 125, 36);
/* oklch */ color: oklch(58.3% 0.107 102.1);
Tailwind
colors: {
  custom: {
    50: '#aea265',
    500: '#887d24',
    950: '#000000',
  },
}
SCSS
$custom: #887d24;
$custom-light: #aea265;
$custom-dark: #000000;
JSON
{
  "hex": "#887d24",
  "rgb": {
    "r": 136,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 53.4,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58289,
    "c": 0.10748,
    "h": 102.1
  },
  "luminance": 0.20029
}

Semantic roles & 50–950 ramp

primary
#887D24
secondary
#525DB6
accent
#57E146
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #887D24

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

Preview Lab → · Contrast checker → · Palette generator →

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