#887D28#887D28

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

Color values

HEX#887D28
RGBrgb(136, 125, 40)
HSLhsl(53, 55%, 35%)
HSVhsv(53, 71%, 53%)
CMYKcmyk(0%, 8.1%, 70.6%, 46.7%)
CIE-LABlab(51.90, -6.23, 45.75)
CIE-LCHlch(51.90, 46.17, 97.75°)
OKLaboklab(58.32% -0.0215 0.1024)
OKLCHoklch(58.32% 0.105 101.8)
XYZxyz(17.8707, 20.0554, 4.9368)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887D28 #283388
analogous
#884D28 #887D28 #638828
triadic
#887D28 #28887D #7D2888
tetradic
#887D28 #28884D #283388 #882863
square
#887D28 #28884D #283388 #882863
split-complementary
#887D28 #286388 #4D2888
monochromatic
#29260C #59521A #887D28 #B7A836 #CFC25B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887D28#FFFFFF#000000##000000
##887D281.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)
#89791C
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#92746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887d28;
/* rgb */ color: rgb(136, 125, 40);
/* oklch */ color: oklch(58.3% 0.105 101.8);
Tailwind
colors: {
  custom: {
    50: '#aea267',
    500: '#887d28',
    950: '#000000',
  },
}
SCSS
$custom: #887d28;
$custom-light: #aea267;
$custom-dark: #000000;
JSON
{
  "hex": "#887d28",
  "rgb": {
    "r": 136,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 53.125,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58322,
    "c": 0.10464,
    "h": 101.8
  },
  "luminance": 0.20055
}

Semantic roles & 50–950 ramp

primary
#887D28
secondary
#5862B4
accent
#5BDE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #887D28

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

Preview Lab → · Contrast checker → · Palette generator →

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