#987A4C#987A4C

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

Color values

HEX#987A4C
RGBrgb(152, 122, 76)
HSLhsl(36, 33%, 45%)
HSVhsv(36, 50%, 60%)
CMYKcmyk(0%, 19.7%, 50%, 40.4%)
CIE-LABlab(53.08, 5.54, 29.49)
CIE-LCHlch(53.08, 30.00, 79.35°)
OKLaboklab(59.76% 0.016 0.0713)
OKLCHoklch(59.76% 0.073 77.3)
XYZxyz(21.2138, 21.1174, 9.7948)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A4C #4C6A98
analogous
#98544C #987A4C #90984C
triadic
#987A4C #4C987A #7A4C98
tetradic
#987A4C #4C9854 #4C6A98 #984C90
square
#987A4C #4C9854 #4C6A98 #984C90
split-complementary
#987A4C #4C9098 #544C98
monochromatic
#463923 #6F5938 #987A4C #B5986C #CAB595

Accessibility & contrast

On white

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

On black

5.22
#987A4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A4C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A4C#FFFFFF#000000##000000
##987A4C1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #987a4c;
/* rgb */ color: rgb(152, 122, 76);
/* oklch */ color: oklch(59.8% 0.073 77.3);
Tailwind
colors: {
  custom: {
    50: '#b8a07f',
    500: '#987a4c',
    950: '#000000',
  },
}
SCSS
$custom: #987a4c;
$custom-light: #b8a07f;
$custom-dark: #000000;
JSON
{
  "hex": "#987a4c",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 76
  },
  "hsl": {
    "h": 36.316,
    "s": 33.333,
    "l": 44.706
  },
  "oklch": {
    "l": 0.59758,
    "c": 0.07307,
    "h": 77.3
  },
  "luminance": 0.21116
}

Semantic roles & 50–950 ramp

primary
#987A4C
secondary
#8A9BB6
accent
#89C95E
background
#FBF9F7
surface
#F6F2EE
border
#D0CCC9
text
#120E0A
muted
#817E7C

Preview Lab

Preview with #987A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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