#987A47#987A47

#987A47 is a mid, moderate orange. Relative luminance 0.210; OKLCH L 59.7% C 0.078 H 79.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#987A47
RGBrgb(152, 122, 71)
HSLhsl(38, 36%, 44%)
HSVhsv(38, 53%, 60%)
CMYKcmyk(0%, 19.7%, 53.3%, 40.4%)
CIE-LABlab(53.00, 5.06, 32.13)
CIE-LCHlch(53.00, 32.53, 81.05°)
OKLaboklab(59.68% 0.014 0.0768)
OKLCHoklch(59.68% 0.078 79.7)
XYZxyz(21.0467, 21.0506, 8.9146)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A47 #476598
analogous
#985147 #987A47 #8D9847
triadic
#987A47 #47987A #7A4798
tetradic
#987A47 #479851 #476598 #98478D
square
#987A47 #479851 #476598 #98478D
split-complementary
#987A47 #478D98 #514798
monochromatic
#453720 #6E5934 #987A47 #B79965 #CBB48F

Accessibility & contrast

On white

4.03
#987A47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#987A47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A47
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A47#FFFFFF#000000##000000
##987A471.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867A43
Deuteranopia (green-blind)
#8E8248
Tritanopia (blue-blind)
#A3716E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #987a47;
/* rgb */ color: rgb(152, 122, 71);
/* oklch */ color: oklch(59.7% 0.078 79.7);
Tailwind
colors: {
  custom: {
    50: '#b8a07b',
    500: '#987a47',
    950: '#000000',
  },
}
SCSS
$custom: #987a47;
$custom-light: #b8a07b;
$custom-dark: #000000;
JSON
{
  "hex": "#987a47",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 71
  },
  "hsl": {
    "h": 37.778,
    "s": 36.323,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59677,
    "c": 0.07809,
    "h": 79.7
  },
  "luminance": 0.21049
}

Semantic roles & 50–950 ramp

primary
#987A47
secondary
#8597B6
accent
#85CC5B
background
#FBF9F7
surface
#F6F2EE
border
#D0CCC9
text
#120E09
muted
#817E7B

Preview Lab

Preview with #987A47

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

Preview Lab → · Contrast checker → · Palette generator →

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