#887E20#887E20

#887E20 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.111 H 103.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#887E20
RGBrgb(136, 126, 32)
HSLhsl(54, 62%, 33%)
HSVhsv(54, 76%, 53%)
CMYKcmyk(0%, 7.4%, 76.5%, 46.7%)
CIE-LABlab(52.13, -7.20, 49.17)
CIE-LCHlch(52.13, 49.70, 98.33°)
OKLaboklab(58.49% -0.0251 0.1081)
OKLCHoklch(58.49% 0.111 103.1)
XYZxyz(17.8757, 20.2610, 4.3354)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887E20 #202A88
analogous
#884A20 #887E20 #5E8820
triadic
#887E20 #20887E #7E2088
tetradic
#887E20 #20884A #202A88 #88205E
square
#887E20 #20884A #202A88 #88205E
split-complementary
#887E20 #205E88 #4A2088
monochromatic
#252209 #565014 #887E20 #BAAC2C #D5C84D

Accessibility & contrast

On white

4.16
#887E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#887E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887E20
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887E20#FFFFFF#000000##000000
##887E201.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0D
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#93756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887e20;
/* rgb */ color: rgb(136, 126, 32);
/* oklch */ color: oklch(58.5% 0.111 103.1);
Tailwind
colors: {
  custom: {
    50: '#aea363',
    500: '#887e20',
    950: '#000000',
  },
}
SCSS
$custom: #887e20;
$custom-light: #aea363;
$custom-dark: #000000;
JSON
{
  "hex": "#887e20",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 54.231,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58488,
    "c": 0.11098,
    "h": 103.1
  },
  "luminance": 0.2026
}

Semantic roles & 50–950 ramp

primary
#887E20
secondary
#4C56B8
accent
#52E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #887E20

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

Preview Lab → · Contrast checker → · Palette generator →

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