#887A2B#887A2B

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

Color values

HEX#887A2B
RGBrgb(136, 122, 43)
HSLhsl(51, 52%, 35%)
HSVhsv(51, 68%, 53%)
CMYKcmyk(0%, 10.3%, 68.4%, 46.7%)
CIE-LABlab(51.07, -4.37, 43.58)
CIE-LCHlch(51.07, 43.80, 95.73°)
OKLaboklab(57.67% -0.0158 0.0984)
OKLCHoklch(57.67% 0.1 99.1)
XYZxyz(17.5497, 19.3285, 5.0914)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887A2B #2B3988
analogous
#884C2B #887A2B #67882B
triadic
#887A2B #2B887A #7A2B88
tetradic
#887A2B #2B884C #2B3988 #882B67
square
#887A2B #2B884C #2B3988 #882B67
split-complementary
#887A2B #2B6788 #4C2B88
monochromatic
#2B270E #5A501C #887A2B #B6A43A #CDBD61

Accessibility & contrast

On white

4.32
#887A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##887A2B#FFFFFF#000000##000000
##887A2B1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #887a2b;
/* rgb */ color: rgb(136, 122, 43);
/* oklch */ color: oklch(57.7% 0.100 99.1);
Tailwind
colors: {
  custom: {
    50: '#aea069',
    500: '#887a2b',
    950: '#000000',
  },
}
SCSS
$custom: #887a2b;
$custom-light: #aea069;
$custom-dark: #000000;
JSON
{
  "hex": "#887a2b",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 50.968,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.09963,
    "h": 99.1
  },
  "luminance": 0.19328
}

Semantic roles & 50–950 ramp

primary
#887A2B
secondary
#5C69B3
accent
#62DB4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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