#887A2C#887A2C

#887A2C is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.099 H 99.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#887A2C
RGBrgb(136, 122, 44)
HSLhsl(51, 51%, 35%)
HSVhsv(51, 68%, 53%)
CMYKcmyk(0%, 10.3%, 67.6%, 46.7%)
CIE-LABlab(51.08, -4.31, 43.14)
CIE-LCHlch(51.08, 43.35, 95.71°)
OKLaboklab(57.68% -0.0155 0.0976)
OKLCHoklch(57.68% 0.099 99)
XYZxyz(17.5683, 19.3360, 5.1892)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887A2C #2C3A88
analogous
#884C2C #887A2C #68882C
triadic
#887A2C #2C887A #7A2C88
tetradic
#887A2C #2C884C #2C3A88 #882C68
square
#887A2C #2C884C #2C3A88 #882C68
split-complementary
#887A2C #2C6888 #4C2C88
monochromatic
#2C270E #5A511D #887A2C #B6A33B #CCBC62

Accessibility & contrast

On white

4.31
#887A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#887A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887A2C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887A2C#FFFFFF#000000##000000
##887A2C1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867722
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#93716A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #887a2c;
/* rgb */ color: rgb(136, 122, 44);
/* oklch */ color: oklch(57.7% 0.099 99.0);
Tailwind
colors: {
  custom: {
    50: '#ada069',
    500: '#887a2c',
    950: '#000000',
  },
}
SCSS
$custom: #887a2c;
$custom-light: #ada069;
$custom-dark: #000000;
JSON
{
  "hex": "#887a2c",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 50.87,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5768,
    "c": 0.09883,
    "h": 99
  },
  "luminance": 0.19335
}

Semantic roles & 50–950 ramp

primary
#887A2C
secondary
#5D6AB3
accent
#63DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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