#887A24#887A24

#887A24 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.105 H 99.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#887A24
RGBrgb(136, 122, 36)
HSLhsl(52, 58%, 34%)
HSVhsv(52, 74%, 53%)
CMYKcmyk(0%, 10.3%, 73.5%, 46.7%)
CIE-LABlab(51.01, -4.78, 46.54)
CIE-LCHlch(51.01, 46.78, 95.86°)
OKLaboklab(57.61% -0.0178 0.1033)
OKLCHoklch(57.61% 0.105 99.8)
XYZxyz(17.4321, 19.2815, 4.4722)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887A24 #243288
analogous
#884824 #887A24 #648824
triadic
#887A24 #24887A #7A2488
tetradic
#887A24 #248848 #243288 #882464
square
#887A24 #248848 #243288 #882464
split-complementary
#887A24 #246488 #482488
monochromatic
#27230A #584F17 #887A24 #B8A531 #D2C055

Accessibility & contrast

On white

4.32
#887A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#887A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887A24
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887A24#FFFFFF#000000##000000
##887A241.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867716
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#937169
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #887a24;
/* rgb */ color: rgb(136, 122, 36);
/* oklch */ color: oklch(57.6% 0.105 99.8);
Tailwind
colors: {
  custom: {
    50: '#aea065',
    500: '#887a24',
    950: '#000000',
  },
}
SCSS
$custom: #887a24;
$custom-light: #aea065;
$custom-dark: #000000;
JSON
{
  "hex": "#887a24",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 51.6,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5761,
    "c": 0.10484,
    "h": 99.8
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#887A24
secondary
#5260B6
accent
#5CE146
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887A24

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

Preview Lab → · Contrast checker → · Palette generator →

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