#987A4D#987A4D

#987A4D is a mid, moderate orange. Relative luminance 0.211; OKLCH L 59.8% C 0.072 H 76.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#987A4D
RGBrgb(152, 122, 77)
HSLhsl(36, 33%, 45%)
HSVhsv(36, 49%, 60%)
CMYKcmyk(0%, 19.7%, 49.3%, 40.4%)
CIE-LABlab(53.09, 5.65, 28.95)
CIE-LCHlch(53.09, 29.50, 78.97°)
OKLaboklab(59.77% 0.0164 0.0702)
OKLCHoklch(59.77% 0.072 76.8)
XYZxyz(21.2488, 21.1315, 9.9793)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A4D #4D6B98
analogous
#98554D #987A4D #91984D
triadic
#987A4D #4D987A #7A4D98
tetradic
#987A4D #4D9855 #4D6B98 #984D91
square
#987A4D #4D9855 #4D6B98 #984D91
split-complementary
#987A4D #4D9198 #554D98
monochromatic
#473924 #6F5938 #987A4D #B5986D #CAB596

Accessibility & contrast

On white

4.02
#987A4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#987A4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A4D
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A4D#FFFFFF#000000##000000
##987A4D1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B49
Deuteranopia (green-blind)
#8D824E
Tritanopia (blue-blind)
#A3726F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #987a4d;
/* rgb */ color: rgb(152, 122, 77);
/* oklch */ color: oklch(59.8% 0.072 76.8);
Tailwind
colors: {
  custom: {
    50: '#b8a07f',
    500: '#987a4d',
    950: '#000000',
  },
}
SCSS
$custom: #987a4d;
$custom-light: #b8a07f;
$custom-dark: #000000;
JSON
{
  "hex": "#987a4d",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 77
  },
  "hsl": {
    "h": 36,
    "s": 32.751,
    "l": 44.902
  },
  "oklch": {
    "l": 0.59774,
    "c": 0.07205,
    "h": 76.8
  },
  "luminance": 0.2113
}

Semantic roles & 50–950 ramp

primary
#987A4D
secondary
#8B9CB6
accent
#89C95F
background
#FBF9F7
surface
#F6F2EE
border
#D0CCC9
text
#120E0A
muted
#817E7C

Preview Lab

Preview with #987A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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