#887A2D#887A2D

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

Color values

HEX#887A2D
RGBrgb(136, 122, 45)
HSLhsl(51, 50%, 35%)
HSVhsv(51, 67%, 53%)
CMYKcmyk(0%, 10.3%, 66.9%, 46.7%)
CIE-LABlab(51.09, -4.25, 42.69)
CIE-LCHlch(51.09, 42.90, 95.68°)
OKLaboklab(57.69% -0.0152 0.0968)
OKLCHoklch(57.69% 0.098 98.9)
XYZxyz(17.5873, 19.3436, 5.2894)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887A2D #2D3B88
analogous
#884C2D #887A2D #68882D
triadic
#887A2D #2D887A #7A2D88
tetradic
#887A2D #2D884C #2D3B88 #882D68
square
#887A2D #2D884C #2D3B88 #882D68
split-complementary
#887A2D #2D6888 #4C2D88
monochromatic
#2C270F #5A511E #887A2D #B6A33C #CCBC64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887A2D#FFFFFF#000000##000000
##887A2D1.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)
#867724
Deuteranopia (green-blind)
#897C31
Tritanopia (blue-blind)
#92716A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #887a2d;
/* rgb */ color: rgb(136, 122, 45);
/* oklch */ color: oklch(57.7% 0.098 98.9);
Tailwind
colors: {
  custom: {
    50: '#ada06a',
    500: '#887a2d',
    950: '#000000',
  },
}
SCSS
$custom: #887a2d;
$custom-light: #ada06a;
$custom-dark: #000000;
JSON
{
  "hex": "#887a2d",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 50.769,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.098,
    "h": 98.9
  },
  "luminance": 0.19343
}

Semantic roles & 50–950 ramp

primary
#887A2D
secondary
#5F6CB2
accent
#64DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #887A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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