#987F4E#987F4E

#987F4E is a mid, moderate orange. Relative luminance 0.224; OKLCH L 60.8% C 0.073 H 83.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#987F4E
RGBrgb(152, 127, 78)
HSLhsl(40, 32%, 45%)
HSVhsv(40, 49%, 60%)
CMYKcmyk(0%, 16.4%, 48.7%, 40.4%)
CIE-LABlab(54.45, 2.91, 30.12)
CIE-LCHlch(54.45, 30.26, 84.48°)
OKLaboklab(60.85% 0.0085 0.0729)
OKLCHoklch(60.85% 0.073 83.3)
XYZxyz(21.9142, 22.4053, 10.3766)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987F4E #4E6798
analogous
#985A4E #987F4E #8C984E
triadic
#987F4E #4E987F #7F4E98
tetradic
#987F4E #4E985A #4E6798 #984E8C
square
#987F4E #4E985A #4E6798 #984E8C
split-complementary
#987F4E #4E8C98 #5A4E98
monochromatic
#473B24 #705D39 #987F4E #B59D6E #CAB897

Accessibility & contrast

On white

3.83
#987F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#987F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987F4E
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987F4E#FFFFFF#000000##000000
##987F4E1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E4A
Deuteranopia (green-blind)
#908550
Tritanopia (blue-blind)
#A37773
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #987f4e;
/* rgb */ color: rgb(152, 127, 78);
/* oklch */ color: oklch(60.8% 0.073 83.3);
Tailwind
colors: {
  custom: {
    50: '#b8a480',
    500: '#987f4e',
    950: '#000000',
  },
}
SCSS
$custom: #987f4e;
$custom-light: #b8a480;
$custom-dark: #000000;
JSON
{
  "hex": "#987f4e",
  "rgb": {
    "r": 152,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 39.73,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.60848,
    "c": 0.07335,
    "h": 83.3
  },
  "luminance": 0.22404
}

Semantic roles & 50–950 ramp

primary
#987F4E
secondary
#8C9AB6
accent
#83C85F
background
#FBFAF7
surface
#F6F3EE
border
#D0CDC9
text
#120F0A
muted
#817F7C

Preview Lab

Preview with #987F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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