#987D4E#987D4E

#987D4E is a mid, moderate orange. Relative luminance 0.219; OKLCH L 60.4% C 0.072 H 80.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#987D4E
RGBrgb(152, 125, 78)
HSLhsl(38, 32%, 45%)
HSVhsv(38, 49%, 60%)
CMYKcmyk(0%, 17.8%, 48.7%, 40.4%)
CIE-LABlab(53.91, 4.04, 29.44)
CIE-LCHlch(53.91, 29.71, 82.18°)
OKLaboklab(60.42% 0.0118 0.0713)
OKLCHoklch(60.42% 0.072 80.6)
XYZxyz(21.6585, 21.8938, 10.2914)
Luminance0.2189 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987D4E #4E6998
analogous
#98584E #987D4E #8E984E
triadic
#987D4E #4E987D #7D4E98
tetradic
#987D4E #4E9858 #4E6998 #984E8E
square
#987D4E #4E9858 #4E6998 #984E8E
split-complementary
#987D4E #4E8E98 #584E98
monochromatic
#473A24 #705C39 #987D4E #B59B6E #CAB797

Accessibility & contrast

On white

3.90
#987D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#987D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987D4E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987D4E#FFFFFF#000000##000000
##987D4E1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D4A
Deuteranopia (green-blind)
#8F844F
Tritanopia (blue-blind)
#A37571
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #987d4e;
/* rgb */ color: rgb(152, 125, 78);
/* oklch */ color: oklch(60.4% 0.072 80.6);
Tailwind
colors: {
  custom: {
    50: '#b8a280',
    500: '#987d4e',
    950: '#000000',
  },
}
SCSS
$custom: #987d4e;
$custom-light: #b8a280;
$custom-dark: #000000;
JSON
{
  "hex": "#987d4e",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 38.108,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.60424,
    "c": 0.07229,
    "h": 80.6
  },
  "luminance": 0.21893
}

Semantic roles & 50–950 ramp

primary
#987D4E
secondary
#8C9BB6
accent
#86C85F
background
#FBF9F7
surface
#F6F2EE
border
#D0CCC9
text
#120F0A
muted
#817E7C

Preview Lab

Preview with #987D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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