#887F2E#887F2E

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

Color values

HEX#887F2E
RGBrgb(136, 127, 46)
HSLhsl(54, 49%, 36%)
HSVhsv(54, 66%, 53%)
CMYKcmyk(0%, 6.6%, 66.2%, 46.7%)
CIE-LABlab(52.52, -6.97, 43.75)
CIE-LCHlch(52.52, 44.31, 99.04°)
OKLaboklab(58.83% -0.0228 0.0992)
OKLCHoklch(58.83% 0.102 103)
XYZxyz(18.2366, 20.6110, 5.6019)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F2E #2E3788
analogous
#88522E #887F2E #64882E
triadic
#887F2E #2E887F #7F2E88
tetradic
#887F2E #2E8852 #2E3788 #882E64
square
#887F2E #2E8852 #2E3788 #882E64
split-complementary
#887F2E #2E6488 #522E88
monochromatic
#2D2A0F #5A541F #887F2E #B6AA3D #CBC165

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887F2E#FFFFFF#000000##000000
##887F2E1.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)
#8A7B24
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#92766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f2e;
/* rgb */ color: rgb(136, 127, 46);
/* oklch */ color: oklch(58.8% 0.102 103.0);
Tailwind
colors: {
  custom: {
    50: '#ada36b',
    500: '#887f2e',
    950: '#000000',
  },
}
SCSS
$custom: #887f2e;
$custom-light: #ada36b;
$custom-dark: #000000;
JSON
{
  "hex": "#887f2e",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 54,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58831,
    "c": 0.10183,
    "h": 103
  },
  "luminance": 0.2061
}

Semantic roles & 50–950 ramp

primary
#887F2E
secondary
#6068B2
accent
#5DD94F
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #887F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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