#887F20#887F20

#887F20 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.112 H 103.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#887F20
RGBrgb(136, 127, 32)
HSLhsl(55, 62%, 33%)
HSVhsv(55, 76%, 53%)
CMYKcmyk(0%, 6.6%, 76.5%, 46.7%)
CIE-LABlab(52.42, -7.75, 49.44)
CIE-LCHlch(52.42, 50.05, 98.91°)
OKLaboklab(58.72% -0.0266 0.1087)
OKLCHoklch(58.72% 0.112 103.8)
XYZxyz(18.0042, 20.5180, 4.3782)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F20 #202988
analogous
#884B20 #887F20 #5D8820
triadic
#887F20 #20887F #7F2088
tetradic
#887F20 #20884B #202988 #88205D
square
#887F20 #20884B #202988 #88205D
split-complementary
#887F20 #205D88 #4B2088
monochromatic
#252209 #565114 #887F20 #BAAD2C #D5C94D

Accessibility & contrast

On white

4.11
#887F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#887F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887F20
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887F20#FFFFFF#000000##000000
##887F201.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0D
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#93766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f20;
/* rgb */ color: rgb(136, 127, 32);
/* oklch */ color: oklch(58.7% 0.112 103.8);
Tailwind
colors: {
  custom: {
    50: '#aea363',
    500: '#887f20',
    950: '#000000',
  },
}
SCSS
$custom: #887f20;
$custom-light: #aea363;
$custom-dark: #000000;
JSON
{
  "hex": "#887f20",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 54.808,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58716,
    "c": 0.1119,
    "h": 103.8
  },
  "luminance": 0.20517
}

Semantic roles & 50–950 ramp

primary
#887F20
secondary
#4C55B8
accent
#51E543
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #887F20

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

Preview Lab → · Contrast checker → · Palette generator →

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