#887F25#887F25

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

Color values

HEX#887F25
RGBrgb(136, 127, 37)
HSLhsl(55, 57%, 34%)
HSVhsv(55, 73%, 53%)
CMYKcmyk(0%, 6.6%, 72.8%, 46.7%)
CIE-LABlab(52.45, -7.50, 47.54)
CIE-LCHlch(52.45, 48.13, 98.97°)
OKLaboklab(58.75% -0.0254 0.1056)
OKLCHoklch(58.75% 0.109 103.5)
XYZxyz(18.0774, 20.5473, 4.7637)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F25 #252E88
analogous
#884E25 #887F25 #608825
triadic
#887F25 #25887F #7F2588
tetradic
#887F25 #25884E #252E88 #882560
square
#887F25 #25884E #252E88 #882560
split-complementary
#887F25 #256088 #4E2588
monochromatic
#28250B #585218 #887F25 #B8AC32 #D1C656

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887F25#FFFFFF#000000##000000
##887F251.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)
#8B7B17
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#92766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f25;
/* rgb */ color: rgb(136, 127, 37);
/* oklch */ color: oklch(58.8% 0.109 103.5);
Tailwind
colors: {
  custom: {
    50: '#aea366',
    500: '#887f25',
    950: '#000000',
  },
}
SCSS
$custom: #887f25;
$custom-light: #aea366;
$custom-dark: #000000;
JSON
{
  "hex": "#887f25",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 54.545,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.10865,
    "h": 103.5
  },
  "luminance": 0.20547
}

Semantic roles & 50–950 ramp

primary
#887F25
secondary
#535CB6
accent
#55E047
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #887F25

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

Preview Lab → · Contrast checker → · Palette generator →

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