#887F2C#887F2C

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

Color values

HEX#887F2C
RGBrgb(136, 127, 44)
HSLhsl(54, 51%, 35%)
HSVhsv(54, 68%, 53%)
CMYKcmyk(0%, 6.6%, 67.6%, 46.7%)
CIE-LABlab(52.50, -7.09, 44.63)
CIE-LCHlch(52.50, 45.19, 99.03°)
OKLaboklab(58.81% -0.0234 0.1008)
OKLCHoklch(58.81% 0.103 103.1)
XYZxyz(18.1981, 20.5956, 5.3991)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F2C #2C3588
analogous
#88512C #887F2C #63882C
triadic
#887F2C #2C887F #7F2C88
tetradic
#887F2C #2C8851 #2C3588 #882C63
square
#887F2C #2C8851 #2C3588 #882C63
split-complementary
#887F2C #2C6388 #512C88
monochromatic
#2C290E #5A541D #887F2C #B6AA3B #CCC262

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887F2C#FFFFFF#000000##000000
##887F2C1.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)
#8A7B21
Deuteranopia (green-blind)
#8D7F31
Tritanopia (blue-blind)
#92766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f2c;
/* rgb */ color: rgb(136, 127, 44);
/* oklch */ color: oklch(58.8% 0.103 103.1);
Tailwind
colors: {
  custom: {
    50: '#ada36a',
    500: '#887f2c',
    950: '#000000',
  },
}
SCSS
$custom: #887f2c;
$custom-light: #ada36a;
$custom-dark: #000000;
JSON
{
  "hex": "#887f2c",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 54.13,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58812,
    "c": 0.10344,
    "h": 103.1
  },
  "luminance": 0.20595
}

Semantic roles & 50–950 ramp

primary
#887F2C
secondary
#5D66B3
accent
#5BDB4D
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #887F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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