#987D47#987D47

#987D47 is a mid, moderate orange. Relative luminance 0.218; OKLCH L 60.3% C 0.080 H 83.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#987D47
RGBrgb(152, 125, 71)
HSLhsl(40, 36%, 44%)
HSVhsv(40, 53%, 60%)
CMYKcmyk(0%, 17.8%, 53.3%, 40.4%)
CIE-LABlab(53.81, 3.36, 33.12)
CIE-LCHlch(53.81, 33.29, 84.21°)
OKLaboklab(60.31% 0.009 0.079)
OKLCHoklch(60.31% 0.08 83.5)
XYZxyz(21.4207, 21.7987, 9.0393)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987D47 #476298
analogous
#985447 #987D47 #8A9847
triadic
#987D47 #47987D #7D4798
tetradic
#987D47 #479854 #476298 #98478A
square
#987D47 #479854 #476298 #98478A
split-complementary
#987D47 #478A98 #544798
monochromatic
#453820 #6E5B34 #987D47 #B79C65 #CBB78F

Accessibility & contrast

On white

3.92
#987D47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#987D47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987D47
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987D47#FFFFFF#000000##000000
##987D471.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897D42
Deuteranopia (green-blind)
#908349
Tritanopia (blue-blind)
#A37470
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #987d47;
/* rgb */ color: rgb(152, 125, 71);
/* oklch */ color: oklch(60.3% 0.080 83.5);
Tailwind
colors: {
  custom: {
    50: '#b8a27b',
    500: '#987d47',
    950: '#000000',
  },
}
SCSS
$custom: #987d47;
$custom-light: #b8a27b;
$custom-dark: #000000;
JSON
{
  "hex": "#987d47",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 71
  },
  "hsl": {
    "h": 40,
    "s": 36.323,
    "l": 43.725
  },
  "oklch": {
    "l": 0.60311,
    "c": 0.07952,
    "h": 83.5
  },
  "luminance": 0.21798
}

Semantic roles & 50–950 ramp

primary
#987D47
secondary
#8595B6
accent
#81CC5B
background
#FBF9F7
surface
#F6F2EE
border
#D0CCC9
text
#120F09
muted
#817E7B

Preview Lab

Preview with #987D47

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

Preview Lab → · Contrast checker → · Palette generator →

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