#887A2F#887A2F

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

Color values

HEX#887A2F
RGBrgb(136, 122, 47)
HSLhsl(51, 49%, 36%)
HSVhsv(51, 65%, 53%)
CMYKcmyk(0%, 10.3%, 65.4%, 46.7%)
CIE-LABlab(51.10, -4.11, 41.78)
CIE-LCHlch(51.10, 41.98, 95.62°)
OKLaboklab(57.71% -0.0146 0.0952)
OKLCHoklch(57.71% 0.096 98.7)
XYZxyz(17.6267, 19.3593, 5.4970)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887A2F #2F3D88
analogous
#884D2F #887A2F #69882F
triadic
#887A2F #2F887A #7A2F88
tetradic
#887A2F #2F884D #2F3D88 #882F69
square
#887A2F #2F884D #2F3D88 #882F69
split-complementary
#887A2F #2F6988 #4D2F88
monochromatic
#2D2810 #5B511F #887A2F #B5A33F #CABB67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887A2F#FFFFFF#000000##000000
##887A2F1.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)
#867726
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#92716A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #887a2f;
/* rgb */ color: rgb(136, 122, 47);
/* oklch */ color: oklch(57.7% 0.096 98.7);
Tailwind
colors: {
  custom: {
    50: '#ada06b',
    500: '#887a2f',
    950: '#000000',
  },
}
SCSS
$custom: #887a2f;
$custom-light: #ada06b;
$custom-dark: #000000;
JSON
{
  "hex": "#887a2f",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 50.562,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5771,
    "c": 0.09632,
    "h": 98.7
  },
  "luminance": 0.19359
}

Semantic roles & 50–950 ramp

primary
#887A2F
secondary
#616EB1
accent
#65D850
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #887A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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