#887E2D#887E2D

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

Color values

HEX#887E2D
RGBrgb(136, 126, 45)
HSLhsl(53, 50%, 35%)
HSVhsv(53, 67%, 53%)
CMYKcmyk(0%, 7.4%, 66.9%, 46.7%)
CIE-LABlab(52.23, -6.48, 43.90)
CIE-LCHlch(52.23, 44.37, 98.39°)
OKLaboklab(58.59% -0.0216 0.0994)
OKLCHoklch(58.59% 0.102 102.3)
XYZxyz(18.0886, 20.3461, 5.4565)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887E2D #2D3788
analogous
#88512D #887E2D #64882D
triadic
#887E2D #2D887E #7E2D88
tetradic
#887E2D #2D8851 #2D3788 #882D64
square
#887E2D #2D8851 #2D3788 #882D64
split-complementary
#887E2D #2D6488 #512D88
monochromatic
#2C290F #5A531E #887E2D #B6A93C #CCC064

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887E2D#FFFFFF#000000##000000
##887E2D1.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)
#897A23
Deuteranopia (green-blind)
#8C7F32
Tritanopia (blue-blind)
#92756D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887e2d;
/* rgb */ color: rgb(136, 126, 45);
/* oklch */ color: oklch(58.6% 0.102 102.3);
Tailwind
colors: {
  custom: {
    50: '#ada36a',
    500: '#887e2d',
    950: '#000000',
  },
}
SCSS
$custom: #887e2d;
$custom-light: #ada36a;
$custom-dark: #000000;
JSON
{
  "hex": "#887e2d",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 53.407,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58594,
    "c": 0.10168,
    "h": 102.3
  },
  "luminance": 0.20345
}

Semantic roles & 50–950 ramp

primary
#887E2D
secondary
#5F68B2
accent
#5DDA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #887E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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