#987C40#987C40

#987C40 is a mid, moderate orange. Relative luminance 0.215; OKLCH L 60.0% C 0.086 H 84.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#987C40
RGBrgb(152, 124, 64)
HSLhsl(41, 41%, 42%)
HSVhsv(41, 58%, 60%)
CMYKcmyk(0%, 18.4%, 57.9%, 40.4%)
CIE-LABlab(53.45, 3.31, 36.39)
CIE-LCHlch(53.45, 36.54, 84.81°)
OKLaboklab(60% 0.008 0.0855)
OKLCHoklch(60% 0.086 84.7)
XYZxyz(21.0829, 21.4621, 7.8816)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987C40 #405C98
analogous
#985040 #987C40 #889840
triadic
#987C40 #40987C #7C4098
tetradic
#987C40 #409850 #405C98 #984088
square
#987C40 #409850 #405C98 #984088
split-complementary
#987C40 #408898 #504098
monochromatic
#42361C #6D592E #987C40 #BA9C5B #CCB686

Accessibility & contrast

On white

3.97
#987C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#987C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987C40
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987C40#FFFFFF#000000##000000
##987C401.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B3A
Deuteranopia (green-blind)
#908342
Tritanopia (blue-blind)
#A4736E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #987c40;
/* rgb */ color: rgb(152, 124, 64);
/* oklch */ color: oklch(60.0% 0.086 84.7);
Tailwind
colors: {
  custom: {
    50: '#b9a176',
    500: '#987c40',
    950: '#000000',
  },
}
SCSS
$custom: #987c40;
$custom-light: #b9a176;
$custom-dark: #000000;
JSON
{
  "hex": "#987c40",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 64
  },
  "hsl": {
    "h": 40.909,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59998,
    "c": 0.08588,
    "h": 84.7
  },
  "luminance": 0.21461
}

Semantic roles & 50–950 ramp

primary
#987C40
secondary
#7D8FB7
accent
#7ED157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120F09
muted
#817E7B

Preview Lab

Preview with #987C40

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

Preview Lab → · Contrast checker → · Palette generator →

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