#987D4F#987D4F

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

Color values

HEX#987D4F
RGBrgb(152, 125, 79)
HSLhsl(38, 32%, 45%)
HSVhsv(38, 48%, 60%)
CMYKcmyk(0%, 17.8%, 48%, 40.4%)
CIE-LABlab(53.93, 4.15, 28.91)
CIE-LCHlch(53.93, 29.20, 81.84°)
OKLaboklab(60.44% 0.0123 0.0702)
OKLCHoklch(60.44% 0.071 80.1)
XYZxyz(21.6946, 21.9083, 10.4816)
Luminance0.2191 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987D4F #4F6A98
analogous
#98584F #987D4F #8F984F
triadic
#987D4F #4F987D #7D4F98
tetradic
#987D4F #4F9858 #4F6A98 #984F8F
square
#987D4F #4F9858 #4F6A98 #984F8F
split-complementary
#987D4F #4F8F98 #584F98
monochromatic
#473B25 #705C3A #987D4F #B59B70 #C9B798

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987D4F#FFFFFF#000000##000000
##987D4F1.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)
#887D4B
Deuteranopia (green-blind)
#8F8450
Tritanopia (blue-blind)
#A37572
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #987d4f;
/* rgb */ color: rgb(152, 125, 79);
/* oklch */ color: oklch(60.4% 0.071 80.1);
Tailwind
colors: {
  custom: {
    50: '#b8a281',
    500: '#987d4f',
    950: '#000000',
  },
}
SCSS
$custom: #987d4f;
$custom-light: #b8a281;
$custom-dark: #000000;
JSON
{
  "hex": "#987d4f",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 79
  },
  "hsl": {
    "h": 37.808,
    "s": 31.602,
    "l": 45.294
  },
  "oklch": {
    "l": 0.60441,
    "c": 0.07123,
    "h": 80.1
  },
  "luminance": 0.21907
}

Semantic roles & 50–950 ramp

primary
#987D4F
secondary
#8D9CB6
accent
#86C860
background
#FBF9F7
surface
#F6F2EE
border
#D0CCC9
text
#120F0A
muted
#817E7C

Preview Lab

Preview with #987D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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