#887F34#887F34

#887F34 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.9% C 0.097 H 102.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#887F34
RGBrgb(136, 127, 52)
HSLhsl(54, 45%, 37%)
HSVhsv(54, 62%, 53%)
CMYKcmyk(0%, 6.6%, 61.8%, 46.7%)
CIE-LABlab(52.58, -6.54, 41.01)
CIE-LCHlch(52.58, 41.53, 99.06°)
OKLaboklab(58.89% -0.0209 0.0943)
OKLCHoklch(58.89% 0.097 102.5)
XYZxyz(18.3632, 20.6616, 6.2689)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F34 #343D88
analogous
#885534 #887F34 #678834
triadic
#887F34 #34887F #7F3488
tetradic
#887F34 #348855 #343D88 #883467
square
#887F34 #348855 #343D88 #883467
split-complementary
#887F34 #346788 #553488
monochromatic
#2F2C12 #5C5623 #887F34 #B4A845 #C8BE6F

Accessibility & contrast

On white

4.09
#887F34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#887F34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887F34
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887F34#FFFFFF#000000##000000
##887F341.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B2C
Deuteranopia (green-blind)
#8D7F38
Tritanopia (blue-blind)
#92776F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f34;
/* rgb */ color: rgb(136, 127, 52);
/* oklch */ color: oklch(58.9% 0.097 102.5);
Tailwind
colors: {
  custom: {
    50: '#ada36f',
    500: '#887f34',
    950: '#000000',
  },
}
SCSS
$custom: #887f34;
$custom-light: #ada36f;
$custom-dark: #000000;
JSON
{
  "hex": "#887f34",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 52
  },
  "hsl": {
    "h": 53.571,
    "s": 44.681,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58893,
    "c": 0.0966,
    "h": 102.5
  },
  "luminance": 0.20661
}

Semantic roles & 50–950 ramp

primary
#887F34
secondary
#6870B0
accent
#61D453
background
#FAFAF6
surface
#F5F3EC
border
#CFCDC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #887F34

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

Preview Lab → · Contrast checker → · Palette generator →

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