#987F48#987F48

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

Color values

HEX#987F48
RGBrgb(152, 127, 72)
HSLhsl(41, 36%, 44%)
HSVhsv(41, 53%, 60%)
CMYKcmyk(0%, 16.4%, 52.6%, 40.4%)
CIE-LABlab(54.37, 2.32, 33.26)
CIE-LCHlch(54.37, 33.34, 86.00°)
OKLaboklab(60.75% 0.0061 0.0794)
OKLCHoklch(60.75% 0.08 85.6)
XYZxyz(21.7088, 22.3231, 9.2950)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987F48 #486198
analogous
#985748 #987F48 #899848
triadic
#987F48 #48987F #7F4898
tetradic
#987F48 #489857 #486198 #984889
square
#987F48 #489857 #486198 #984889
split-complementary
#987F48 #488998 #574898
monochromatic
#453A21 #6E5C34 #987F48 #B79E66 #CAB890

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987F48#FFFFFF#000000##000000
##987F481.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)
#8B7E43
Deuteranopia (green-blind)
#91854A
Tritanopia (blue-blind)
#A37672
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #987f48;
/* rgb */ color: rgb(152, 127, 72);
/* oklch */ color: oklch(60.8% 0.080 85.6);
Tailwind
colors: {
  custom: {
    50: '#b8a37c',
    500: '#987f48',
    950: '#000000',
  },
}
SCSS
$custom: #987f48;
$custom-light: #b8a37c;
$custom-dark: #000000;
JSON
{
  "hex": "#987f48",
  "rgb": {
    "r": 152,
    "g": 127,
    "b": 72
  },
  "hsl": {
    "h": 41.25,
    "s": 35.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.60753,
    "c": 0.07965,
    "h": 85.6
  },
  "luminance": 0.22322
}

Semantic roles & 50–950 ramp

primary
#987F48
secondary
#8695B6
accent
#7FCC5C
background
#FBFAF7
surface
#F6F3EE
border
#D0CDC9
text
#120F09
muted
#817F7B

Preview Lab

Preview with #987F48

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

Preview Lab → · Contrast checker → · Palette generator →

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