#887D25#887D25

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

Color values

HEX#887D25
RGBrgb(136, 125, 37)
HSLhsl(53, 57%, 34%)
HSVhsv(53, 73%, 53%)
CMYKcmyk(0%, 8.1%, 72.8%, 46.7%)
CIE-LABlab(51.88, -6.40, 46.98)
CIE-LCHlch(51.88, 47.41, 97.75°)
OKLaboklab(58.3% -0.0223 0.1045)
OKLCHoklch(58.3% 0.107 102)
XYZxyz(17.8217, 20.0358, 4.6785)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887D25 #253088
analogous
#884C25 #887D25 #628825
triadic
#887D25 #25887D #7D2588
tetradic
#887D25 #25884C #253088 #882562
square
#887D25 #25884C #253088 #882562
split-complementary
#887D25 #256288 #4C2588
monochromatic
#28250B #585118 #887D25 #B8A932 #D1C356

Accessibility & contrast

On white

4.19
#887D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##887D25#FFFFFF#000000##000000
##887D251.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897917
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#93746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887d25;
/* rgb */ color: rgb(136, 125, 37);
/* oklch */ color: oklch(58.3% 0.107 102.0);
Tailwind
colors: {
  custom: {
    50: '#aea266',
    500: '#887d25',
    950: '#000000',
  },
}
SCSS
$custom: #887d25;
$custom-light: #aea266;
$custom-dark: #000000;
JSON
{
  "hex": "#887d25",
  "rgb": {
    "r": 136,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 53.333,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58297,
    "c": 0.1068,
    "h": 102
  },
  "luminance": 0.20035
}

Semantic roles & 50–950 ramp

primary
#887D25
secondary
#535EB6
accent
#58E047
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #887D25

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

Preview Lab → · Contrast checker → · Palette generator →

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