#887C2D#887C2D

#887C2D is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.100 H 100.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#887C2D
RGBrgb(136, 124, 45)
HSLhsl(52, 50%, 35%)
HSVhsv(52, 67%, 53%)
CMYKcmyk(0%, 8.8%, 66.9%, 46.7%)
CIE-LABlab(51.66, -5.37, 43.29)
CIE-LCHlch(51.66, 43.62, 97.06°)
OKLaboklab(58.14% -0.0184 0.0981)
OKLCHoklch(58.14% 0.1 100.6)
XYZxyz(17.8354, 19.8398, 5.3721)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887C2D #2D3988
analogous
#884E2D #887C2D #66882D
triadic
#887C2D #2D887C #7C2D88
tetradic
#887C2D #2D884E #2D3988 #882D66
square
#887C2D #2D884E #2D3988 #882D66
split-complementary
#887C2D #2D6688 #4E2D88
monochromatic
#2C280F #5A521E #887C2D #B6A63C #CCBE64

Accessibility & contrast

On white

4.23
#887C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#887C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887C2D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887C2D#FFFFFF#000000##000000
##887C2D1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887823
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#92736C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #887c2d;
/* rgb */ color: rgb(136, 124, 45);
/* oklch */ color: oklch(58.1% 0.100 100.6);
Tailwind
colors: {
  custom: {
    50: '#ada16a',
    500: '#887c2d',
    950: '#000000',
  },
}
SCSS
$custom: #887c2d;
$custom-light: #ada16a;
$custom-dark: #000000;
JSON
{
  "hex": "#887c2d",
  "rgb": {
    "r": 136,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 52.088,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58141,
    "c": 0.0998,
    "h": 100.6
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#887C2D
secondary
#5F6AB2
accent
#60DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #887C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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