#887C28#887C28

#887C28 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.104 H 101.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#887C28
RGBrgb(136, 124, 40)
HSLhsl(53, 55%, 35%)
HSVhsv(53, 71%, 53%)
CMYKcmyk(0%, 8.8%, 70.6%, 46.7%)
CIE-LABlab(51.61, -5.67, 45.46)
CIE-LCHlch(51.61, 45.81, 97.11°)
OKLaboklab(58.1% -0.0199 0.1018)
OKLCHoklch(58.1% 0.104 101.1)
XYZxyz(17.7448, 19.8035, 4.8948)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887C28 #283488
analogous
#884C28 #887C28 #648828
triadic
#887C28 #28887C #7C2888
tetradic
#887C28 #28884C #283488 #882864
square
#887C28 #28884C #283488 #882864
split-complementary
#887C28 #286488 #4C2888
monochromatic
#29260C #59511A #887C28 #B7A736 #CFC05B

Accessibility & contrast

On white

4.23
#887C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#887C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887C28
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887C28#FFFFFF#000000##000000
##887C281.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781C
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#93736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #887c28;
/* rgb */ color: rgb(136, 124, 40);
/* oklch */ color: oklch(58.1% 0.104 101.1);
Tailwind
colors: {
  custom: {
    50: '#aea167',
    500: '#887c28',
    950: '#000000',
  },
}
SCSS
$custom: #887c28;
$custom-light: #aea167;
$custom-dark: #000000;
JSON
{
  "hex": "#887c28",
  "rgb": {
    "r": 136,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 52.5,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58095,
    "c": 0.10372,
    "h": 101.1
  },
  "luminance": 0.19803
}

Semantic roles & 50–950 ramp

primary
#887C28
secondary
#5863B4
accent
#5CDE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887C28

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

Preview Lab → · Contrast checker → · Palette generator →

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