#887F2B#887F2B

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

Color values

HEX#887F2B
RGBrgb(136, 127, 43)
HSLhsl(54, 52%, 35%)
HSVhsv(54, 68%, 53%)
CMYKcmyk(0%, 6.6%, 68.4%, 46.7%)
CIE-LABlab(52.50, -7.16, 45.07)
CIE-LCHlch(52.50, 45.63, 99.02°)
OKLaboklab(58.8% -0.0237 0.1015)
OKLCHoklch(58.8% 0.104 103.2)
XYZxyz(18.1795, 20.5881, 5.3013)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F2B #2B3488
analogous
#88512B #887F2B #62882B
triadic
#887F2B #2B887F #7F2B88
tetradic
#887F2B #2B8851 #2B3488 #882B62
square
#887F2B #2B8851 #2B3488 #882B62
split-complementary
#887F2B #2B6288 #512B88
monochromatic
#2B280E #5A541C #887F2B #B6AA3A #CDC261

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887F2B#FFFFFF#000000##000000
##887F2B1.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)
#8A7B20
Deuteranopia (green-blind)
#8D7F30
Tritanopia (blue-blind)
#92766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f2b;
/* rgb */ color: rgb(136, 127, 43);
/* oklch */ color: oklch(58.8% 0.104 103.2);
Tailwind
colors: {
  custom: {
    50: '#ada369',
    500: '#887f2b',
    950: '#000000',
  },
}
SCSS
$custom: #887f2b;
$custom-light: #ada369;
$custom-dark: #000000;
JSON
{
  "hex": "#887f2b",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 54.194,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58803,
    "c": 0.10424,
    "h": 103.2
  },
  "luminance": 0.20587
}

Semantic roles & 50–950 ramp

primary
#887F2B
secondary
#5C64B3
accent
#5ADB4C
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #887F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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