#887F2A#887F2A

#887F2A is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.8% C 0.105 H 103.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#887F2A
RGBrgb(136, 127, 42)
HSLhsl(54, 53%, 35%)
HSVhsv(54, 69%, 53%)
CMYKcmyk(0%, 6.6%, 69.1%, 46.7%)
CIE-LABlab(52.49, -7.22, 45.49)
CIE-LCHlch(52.49, 46.06, 99.02°)
OKLaboklab(58.79% -0.024 0.1022)
OKLCHoklch(58.79% 0.105 103.2)
XYZxyz(18.1614, 20.5809, 5.2059)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F2A #2A3388
analogous
#88502A #887F2A #62882A
triadic
#887F2A #2A887F #7F2A88
tetradic
#887F2A #2A8850 #2A3388 #882A62
square
#887F2A #2A8850 #2A3388 #882A62
split-complementary
#887F2A #2A6288 #502A88
monochromatic
#2A280D #59531C #887F2A #B7AB38 #CEC35F

Accessibility & contrast

On white

4.10
#887F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#887F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887F2A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887F2A#FFFFFF#000000##000000
##887F2A1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1E
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#92766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f2a;
/* rgb */ color: rgb(136, 127, 42);
/* oklch */ color: oklch(58.8% 0.105 103.2);
Tailwind
colors: {
  custom: {
    50: '#aea369',
    500: '#887f2a',
    950: '#000000',
  },
}
SCSS
$custom: #887f2a;
$custom-light: #aea369;
$custom-dark: #000000;
JSON
{
  "hex": "#887f2a",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 54.255,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58794,
    "c": 0.10501,
    "h": 103.2
  },
  "luminance": 0.2058
}

Semantic roles & 50–950 ramp

primary
#887F2A
secondary
#5B63B3
accent
#59DC4C
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #887F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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