#987F4B#987F4B

#987F4B is a mid, moderate orange. Relative luminance 0.224; OKLCH L 60.8% C 0.077 H 84.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#987F4B
RGBrgb(152, 127, 75)
HSLhsl(41, 34%, 45%)
HSVhsv(41, 51%, 60%)
CMYKcmyk(0%, 16.4%, 50.7%, 40.4%)
CIE-LABlab(54.41, 2.61, 31.70)
CIE-LCHlch(54.41, 31.80, 85.29°)
OKLaboklab(60.8% 0.0073 0.0762)
OKLCHoklch(60.8% 0.077 84.5)
XYZxyz(21.8091, 22.3632, 9.8230)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987F4B #4B6498
analogous
#98584B #987F4B #8B984B
triadic
#987F4B #4B987F #7F4B98
tetradic
#987F4B #4B9858 #4B6498 #984B8B
square
#987F4B #4B9858 #4B6498 #984B8B
split-complementary
#987F4B #4B8B98 #584B98
monochromatic
#463B23 #6F5D37 #987F4B #B69D6A #CAB893

Accessibility & contrast

On white

3.84
#987F4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#987F4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987F4B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987F4B#FFFFFF#000000##000000
##987F4B1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E47
Deuteranopia (green-blind)
#91854D
Tritanopia (blue-blind)
#A37772
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #987f4b;
/* rgb */ color: rgb(152, 127, 75);
/* oklch */ color: oklch(60.8% 0.077 84.5);
Tailwind
colors: {
  custom: {
    50: '#b8a47e',
    500: '#987f4b',
    950: '#000000',
  },
}
SCSS
$custom: #987f4b;
$custom-light: #b8a47e;
$custom-dark: #000000;
JSON
{
  "hex": "#987f4b",
  "rgb": {
    "r": 152,
    "g": 127,
    "b": 75
  },
  "hsl": {
    "h": 40.519,
    "s": 33.921,
    "l": 44.51
  },
  "oklch": {
    "l": 0.60799,
    "c": 0.07653,
    "h": 84.5
  },
  "luminance": 0.22362
}

Semantic roles & 50–950 ramp

primary
#987F4B
secondary
#8997B6
accent
#81CA5E
background
#FBFAF7
surface
#F6F3EE
border
#D0CDC9
text
#120F0A
muted
#817F7C

Preview Lab

Preview with #987F4B

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

Preview Lab → · Contrast checker → · Palette generator →

#987F4B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva