#887B20#887B20

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

Color values

HEX#887B20
RGBrgb(136, 123, 32)
HSLhsl(53, 62%, 33%)
HSVhsv(53, 76%, 53%)
CMYKcmyk(0%, 9.6%, 76.5%, 46.7%)
CIE-LABlab(51.27, -5.53, 48.36)
CIE-LCHlch(51.27, 48.68, 96.53°)
OKLaboklab(57.81% -0.0204 0.1064)
OKLCHoklch(57.81% 0.108 100.8)
XYZxyz(17.4978, 19.5053, 4.2094)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887B20 #202D88
analogous
#884720 #887B20 #618820
triadic
#887B20 #20887B #7B2088
tetradic
#887B20 #208847 #202D88 #882061
square
#887B20 #208847 #202D88 #882061
split-complementary
#887B20 #206188 #472088
monochromatic
#252109 #564E14 #887B20 #BAA82C #D5C44D

Accessibility & contrast

On white

4.29
#887B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#887B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887B20
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887B20#FFFFFF#000000##000000
##887B201.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#937269
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #887b20;
/* rgb */ color: rgb(136, 123, 32);
/* oklch */ color: oklch(57.8% 0.108 100.8);
Tailwind
colors: {
  custom: {
    50: '#aea063',
    500: '#887b20',
    950: '#000000',
  },
}
SCSS
$custom: #887b20;
$custom-light: #aea063;
$custom-dark: #000000;
JSON
{
  "hex": "#887b20",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 52.5,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57806,
    "c": 0.10833,
    "h": 100.8
  },
  "luminance": 0.19504
}

Semantic roles & 50–950 ramp

primary
#887B20
secondary
#4C59B8
accent
#57E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887B20

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

Preview Lab → · Contrast checker → · Palette generator →

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