#987F47#987F47

#987F47 is a mid, moderate orange. Relative luminance 0.223; OKLCH L 60.7% C 0.081 H 85.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#987F47
RGBrgb(152, 127, 71)
HSLhsl(41, 36%, 44%)
HSVhsv(41, 53%, 60%)
CMYKcmyk(0%, 16.4%, 53.3%, 40.4%)
CIE-LABlab(54.35, 2.23, 33.78)
CIE-LCHlch(54.35, 33.85, 86.22°)
OKLaboklab(60.74% 0.0057 0.0805)
OKLCHoklch(60.74% 0.081 85.9)
XYZxyz(21.6765, 22.3102, 9.1246)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987F47 #476098
analogous
#985647 #987F47 #889847
triadic
#987F47 #47987F #7F4798
tetradic
#987F47 #479856 #476098 #984788
square
#987F47 #479856 #476098 #984788
split-complementary
#987F47 #478898 #564798
monochromatic
#453920 #6E5C34 #987F47 #B79E65 #CBB88F

Accessibility & contrast

On white

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

On black

5.46
#987F47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987F47
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987F47#FFFFFF#000000##000000
##987F471.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E42
Deuteranopia (green-blind)
#918549
Tritanopia (blue-blind)
#A37672
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #987f47;
/* rgb */ color: rgb(152, 127, 71);
/* oklch */ color: oklch(60.7% 0.081 85.9);
Tailwind
colors: {
  custom: {
    50: '#b8a37b',
    500: '#987f47',
    950: '#000000',
  },
}
SCSS
$custom: #987f47;
$custom-light: #b8a37b;
$custom-dark: #000000;
JSON
{
  "hex": "#987f47",
  "rgb": {
    "r": 152,
    "g": 127,
    "b": 71
  },
  "hsl": {
    "h": 41.481,
    "s": 36.323,
    "l": 43.725
  },
  "oklch": {
    "l": 0.60737,
    "c": 0.08068,
    "h": 85.9
  },
  "luminance": 0.22309
}

Semantic roles & 50–950 ramp

primary
#987F47
secondary
#8594B6
accent
#7ECC5B
background
#FBFAF7
surface
#F6F3EE
border
#D0CDC9
text
#120F09
muted
#817F7B

Preview Lab

Preview with #987F47

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

Preview Lab → · Contrast checker → · Palette generator →

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