#987E4B#987E4B

#987E4B is a mid, moderate orange. Relative luminance 0.221; OKLCH L 60.6% C 0.076 H 83.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#987E4B
RGBrgb(152, 126, 75)
HSLhsl(40, 34%, 45%)
HSVhsv(40, 51%, 60%)
CMYKcmyk(0%, 17.1%, 50.7%, 40.4%)
CIE-LABlab(54.14, 3.18, 31.36)
CIE-LCHlch(54.14, 31.52, 84.22°)
OKLaboklab(60.59% 0.009 0.0754)
OKLCHoklch(60.59% 0.076 83.2)
XYZxyz(21.6806, 22.1062, 9.7802)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987E4B #4B6598
analogous
#98574B #987E4B #8C984B
triadic
#987E4B #4B987E #7E4B98
tetradic
#987E4B #4B9857 #4B6598 #984B8C
square
#987E4B #4B9857 #4B6598 #984B8C
split-complementary
#987E4B #4B8C98 #574B98
monochromatic
#463A23 #6F5C37 #987E4B #B69C6A #CAB893

Accessibility & contrast

On white

3.87
#987E4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#987E4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987E4B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987E4B#FFFFFF#000000##000000
##987E4B1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E47
Deuteranopia (green-blind)
#90844D
Tritanopia (blue-blind)
#A37672
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #987e4b;
/* rgb */ color: rgb(152, 126, 75);
/* oklch */ color: oklch(60.6% 0.076 83.2);
Tailwind
colors: {
  custom: {
    50: '#b8a37e',
    500: '#987e4b',
    950: '#000000',
  },
}
SCSS
$custom: #987e4b;
$custom-light: #b8a37e;
$custom-dark: #000000;
JSON
{
  "hex": "#987e4b",
  "rgb": {
    "r": 152,
    "g": 126,
    "b": 75
  },
  "hsl": {
    "h": 39.74,
    "s": 33.921,
    "l": 44.51
  },
  "oklch": {
    "l": 0.60586,
    "c": 0.07595,
    "h": 83.2
  },
  "luminance": 0.22105
}

Semantic roles & 50–950 ramp

primary
#987E4B
secondary
#8998B6
accent
#82CA5E
background
#FBFAF7
surface
#F6F3EE
border
#D0CDC9
text
#120F0A
muted
#817F7C

Preview Lab

Preview with #987E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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