#887E2F#887E2F

#887E2F is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.6% C 0.100 H 102.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#887E2F
RGBrgb(136, 126, 47)
HSLhsl(53, 49%, 36%)
HSVhsv(53, 65%, 53%)
CMYKcmyk(0%, 7.4%, 65.4%, 46.7%)
CIE-LABlab(52.24, -6.34, 43.00)
CIE-LCHlch(52.24, 43.47, 98.39°)
OKLaboklab(58.61% -0.021 0.0978)
OKLCHoklch(58.61% 0.1 102.1)
XYZxyz(18.1280, 20.3619, 5.6641)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887E2F #2F3988
analogous
#88512F #887E2F #65882F
triadic
#887E2F #2F887E #7E2F88
tetradic
#887E2F #2F8851 #2F3988 #882F65
square
#887E2F #2F8851 #2F3988 #882F65
split-complementary
#887E2F #2F6588 #512F88
monochromatic
#2D2A10 #5B541F #887E2F #B5A83F #CABF67

Accessibility & contrast

On white

4.14
#887E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#887E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887E2F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887E2F#FFFFFF#000000##000000
##887E2F1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#8C7F33
Tritanopia (blue-blind)
#92756D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887e2f;
/* rgb */ color: rgb(136, 126, 47);
/* oklch */ color: oklch(58.6% 0.100 102.1);
Tailwind
colors: {
  custom: {
    50: '#ada36b',
    500: '#887e2f',
    950: '#000000',
  },
}
SCSS
$custom: #887e2f;
$custom-light: #ada36b;
$custom-dark: #000000;
JSON
{
  "hex": "#887e2f",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 53.258,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58614,
    "c": 0.10002,
    "h": 102.1
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#887E2F
secondary
#616AB1
accent
#5FD850
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #887E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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