#887E2B#887E2B

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

Color values

HEX#887E2B
RGBrgb(136, 126, 43)
HSLhsl(54, 52%, 35%)
HSVhsv(54, 68%, 53%)
CMYKcmyk(0%, 7.4%, 68.4%, 46.7%)
CIE-LABlab(52.21, -6.60, 44.77)
CIE-LCHlch(52.21, 45.25, 98.39°)
OKLaboklab(58.58% -0.0222 0.1009)
OKLCHoklch(58.58% 0.103 102.4)
XYZxyz(18.0510, 20.3311, 5.2585)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887E2B #2B3588
analogous
#884F2B #887E2B #64882B
triadic
#887E2B #2B887E #7E2B88
tetradic
#887E2B #2B884F #2B3588 #882B64
square
#887E2B #2B884F #2B3588 #882B64
split-complementary
#887E2B #2B6488 #4F2B88
monochromatic
#2B280E #5A531C #887E2B #B6A93A #CDC161

Accessibility & contrast

On white

4.15
#887E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##887E2B#FFFFFF#000000##000000
##887E2B1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A20
Deuteranopia (green-blind)
#8D7E30
Tritanopia (blue-blind)
#92756D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887e2b;
/* rgb */ color: rgb(136, 126, 43);
/* oklch */ color: oklch(58.6% 0.103 102.4);
Tailwind
colors: {
  custom: {
    50: '#ada369',
    500: '#887e2b',
    950: '#000000',
  },
}
SCSS
$custom: #887e2b;
$custom-light: #ada369;
$custom-dark: #000000;
JSON
{
  "hex": "#887e2b",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 53.548,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58575,
    "c": 0.10328,
    "h": 102.4
  },
  "luminance": 0.2033
}

Semantic roles & 50–950 ramp

primary
#887E2B
secondary
#5C65B3
accent
#5CDB4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #887E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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