#887C25#887C25

#887C25 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.106 H 101.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#887C25
RGBrgb(136, 124, 37)
HSLhsl(53, 57%, 34%)
HSVhsv(53, 73%, 53%)
CMYKcmyk(0%, 8.8%, 72.8%, 46.7%)
CIE-LABlab(51.59, -5.84, 46.70)
CIE-LCHlch(51.59, 47.06, 97.13°)
OKLaboklab(58.07% -0.0207 0.1039)
OKLCHoklch(58.07% 0.106 101.3)
XYZxyz(17.6957, 19.7839, 4.6365)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887C25 #253188
analogous
#884B25 #887C25 #638825
triadic
#887C25 #25887C #7C2588
tetradic
#887C25 #25884B #253188 #882563
square
#887C25 #25884B #253188 #882563
split-complementary
#887C25 #256388 #4B2588
monochromatic
#28240B #585018 #887C25 #B8A832 #D1C256

Accessibility & contrast

On white

4.24
#887C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#887C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887C25
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887C25#FFFFFF#000000##000000
##887C251.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887817
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#93736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #887c25;
/* rgb */ color: rgb(136, 124, 37);
/* oklch */ color: oklch(58.1% 0.106 101.3);
Tailwind
colors: {
  custom: {
    50: '#aea166',
    500: '#887c25',
    950: '#000000',
  },
}
SCSS
$custom: #887c25;
$custom-light: #aea166;
$custom-dark: #000000;
JSON
{
  "hex": "#887c25",
  "rgb": {
    "r": 136,
    "g": 124,
    "b": 37
  },
  "hsl": {
    "h": 52.727,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5807,
    "c": 0.10589,
    "h": 101.3
  },
  "luminance": 0.19783
}

Semantic roles & 50–950 ramp

primary
#887C25
secondary
#535FB6
accent
#5AE047
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887C25

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

Preview Lab → · Contrast checker → · Palette generator →

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