#887B28#887B28

#887B28 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.103 H 100.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#887B28
RGBrgb(136, 123, 40)
HSLhsl(52, 55%, 35%)
HSVhsv(52, 71%, 53%)
CMYKcmyk(0%, 9.6%, 70.6%, 46.7%)
CIE-LABlab(51.33, -5.12, 45.17)
CIE-LCHlch(51.33, 45.46, 96.46°)
OKLaboklab(57.87% -0.0183 0.1012)
OKLCHoklch(57.87% 0.103 100.3)
XYZxyz(17.6201, 19.5542, 4.8533)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887B28 #283588
analogous
#884B28 #887B28 #658828
triadic
#887B28 #28887B #7B2888
tetradic
#887B28 #28884B #283588 #882865
square
#887B28 #28884B #283588 #882865
split-complementary
#887B28 #286588 #4B2888
monochromatic
#29250C #59501A #887B28 #B7A636 #CFBF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887B28#FFFFFF#000000##000000
##887B281.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)
#87771C
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#93726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #887b28;
/* rgb */ color: rgb(136, 123, 40);
/* oklch */ color: oklch(57.9% 0.103 100.3);
Tailwind
colors: {
  custom: {
    50: '#aea067',
    500: '#887b28',
    950: '#000000',
  },
}
SCSS
$custom: #887b28;
$custom-light: #aea067;
$custom-dark: #000000;
JSON
{
  "hex": "#887b28",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 51.875,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57869,
    "c": 0.10283,
    "h": 100.3
  },
  "luminance": 0.19553
}

Semantic roles & 50–950 ramp

primary
#887B28
secondary
#5864B4
accent
#5EDE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887B28

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

Preview Lab → · Contrast checker → · Palette generator →

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