#887B25#887B25

#887B25 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.105 H 100.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#887B25
RGBrgb(136, 123, 37)
HSLhsl(52, 57%, 34%)
HSVhsv(52, 73%, 53%)
CMYKcmyk(0%, 9.6%, 72.8%, 46.7%)
CIE-LABlab(51.31, -5.28, 46.42)
CIE-LCHlch(51.31, 46.72, 96.49°)
OKLaboklab(57.84% -0.0191 0.1033)
OKLCHoklch(57.84% 0.105 100.5)
XYZxyz(17.5710, 19.5345, 4.5949)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887B25 #253288
analogous
#884A25 #887B25 #648825
triadic
#887B25 #25887B #7B2588
tetradic
#887B25 #25884A #253288 #882564
square
#887B25 #25884A #253288 #882564
split-complementary
#887B25 #256488 #4A2588
monochromatic
#28240B #584F18 #887B25 #B8A732 #D1C156

Accessibility & contrast

On white

4.28
#887B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#887B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887B25
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887B25#FFFFFF#000000##000000
##887B251.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877718
Deuteranopia (green-blind)
#8B7C2A
Tritanopia (blue-blind)
#93726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #887b25;
/* rgb */ color: rgb(136, 123, 37);
/* oklch */ color: oklch(57.8% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#aea065',
    500: '#887b25',
    950: '#000000',
  },
}
SCSS
$custom: #887b25;
$custom-light: #aea065;
$custom-dark: #000000;
JSON
{
  "hex": "#887b25",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 52.121,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57844,
    "c": 0.10501,
    "h": 100.5
  },
  "luminance": 0.19534
}

Semantic roles & 50–950 ramp

primary
#887B25
secondary
#5360B6
accent
#5BE047
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887B25

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

Preview Lab → · Contrast checker → · Palette generator →

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