#887D20#887D20

#887D20 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.110 H 102.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#887D20
RGBrgb(136, 125, 32)
HSLhsl(54, 62%, 33%)
HSVhsv(54, 76%, 53%)
CMYKcmyk(0%, 8.1%, 76.5%, 46.7%)
CIE-LABlab(51.84, -6.65, 48.90)
CIE-LCHlch(51.84, 49.35, 97.74°)
OKLaboklab(58.26% -0.0235 0.1075)
OKLCHoklch(58.26% 0.11 102.3)
XYZxyz(17.7485, 20.0065, 4.2930)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887D20 #202B88
analogous
#884920 #887D20 #5F8820
triadic
#887D20 #20887D #7D2088
tetradic
#887D20 #208849 #202B88 #88205F
square
#887D20 #208849 #202B88 #88205F
split-complementary
#887D20 #205F88 #492088
monochromatic
#252209 #564F14 #887D20 #BAAB2C #D5C74D

Accessibility & contrast

On white

4.20
#887D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#887D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887D20
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887D20#FFFFFF#000000##000000
##887D201.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790E
Deuteranopia (green-blind)
#8C7E27
Tritanopia (blue-blind)
#93746B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887d20;
/* rgb */ color: rgb(136, 125, 32);
/* oklch */ color: oklch(58.3% 0.110 102.3);
Tailwind
colors: {
  custom: {
    50: '#aea263',
    500: '#887d20',
    950: '#000000',
  },
}
SCSS
$custom: #887d20;
$custom-light: #aea263;
$custom-dark: #000000;
JSON
{
  "hex": "#887d20",
  "rgb": {
    "r": 136,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 53.654,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5826,
    "c": 0.11007,
    "h": 102.3
  },
  "luminance": 0.20006
}

Semantic roles & 50–950 ramp

primary
#887D20
secondary
#4C57B8
accent
#54E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #887D20

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

Preview Lab → · Contrast checker → · Palette generator →

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