#887A25#887A25

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

Color values

HEX#887A25
RGBrgb(136, 122, 37)
HSLhsl(52, 57%, 34%)
HSVhsv(52, 73%, 53%)
CMYKcmyk(0%, 10.3%, 72.8%, 46.7%)
CIE-LABlab(51.02, -4.72, 46.13)
CIE-LCHlch(51.02, 46.37, 95.85°)
OKLaboklab(57.62% -0.0175 0.1027)
OKLCHoklch(57.62% 0.104 99.7)
XYZxyz(17.4476, 19.2877, 4.5538)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887A25 #253388
analogous
#884925 #887A25 #658825
triadic
#887A25 #25887A #7A2588
tetradic
#887A25 #258849 #253388 #882565
square
#887A25 #258849 #253388 #882565
split-complementary
#887A25 #256588 #492588
monochromatic
#28240B #584F18 #887A25 #B8A532 #D1C056

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887A25#FFFFFF#000000##000000
##887A251.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)
#867718
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#937169
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #887a25;
/* rgb */ color: rgb(136, 122, 37);
/* oklch */ color: oklch(57.6% 0.104 99.7);
Tailwind
colors: {
  custom: {
    50: '#aea065',
    500: '#887a25',
    950: '#000000',
  },
}
SCSS
$custom: #887a25;
$custom-light: #aea065;
$custom-dark: #000000;
JSON
{
  "hex": "#887a25",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 51.515,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57618,
    "c": 0.10414,
    "h": 99.7
  },
  "luminance": 0.19287
}

Semantic roles & 50–950 ramp

primary
#887A25
secondary
#5361B6
accent
#5DE047
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887A25

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

Preview Lab → · Contrast checker → · Palette generator →

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