#987C42#987C42

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

Color values

HEX#987C42
RGBrgb(152, 124, 66)
HSLhsl(40, 39%, 43%)
HSVhsv(40, 57%, 60%)
CMYKcmyk(0%, 18.4%, 56.6%, 40.4%)
CIE-LABlab(53.48, 3.48, 35.37)
CIE-LCHlch(53.48, 35.54, 84.38°)
OKLaboklab(60.02% 0.0087 0.0835)
OKLCHoklch(60.02% 0.084 84)
XYZxyz(21.1409, 21.4852, 8.1867)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987C42 #425E98
analogous
#985142 #987C42 #899842
triadic
#987C42 #42987C #7C4298
tetradic
#987C42 #429851 #425E98 #984289
square
#987C42 #429851 #425E98 #984289
split-complementary
#987C42 #428998 #514298
monochromatic
#43361D #6D592F #987C42 #B99B5E #CCB689

Accessibility & contrast

On white

3.96
#987C42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#987C42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987C42
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987C42#FFFFFF#000000##000000
##987C421.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3D
Deuteranopia (green-blind)
#8F8344
Tritanopia (blue-blind)
#A4736E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #987c42;
/* rgb */ color: rgb(152, 124, 66);
/* oklch */ color: oklch(60.0% 0.084 84.0);
Tailwind
colors: {
  custom: {
    50: '#b9a178',
    500: '#987c42',
    950: '#000000',
  },
}
SCSS
$custom: #987c42;
$custom-light: #b9a178;
$custom-dark: #000000;
JSON
{
  "hex": "#987c42",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 66
  },
  "hsl": {
    "h": 40.465,
    "s": 39.45,
    "l": 42.745
  },
  "oklch": {
    "l": 0.60025,
    "c": 0.08396,
    "h": 84
  },
  "luminance": 0.21484
}

Semantic roles & 50–950 ramp

primary
#987C42
secondary
#7F91B7
accent
#7FCF58
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120F09
muted
#817E7B

Preview Lab

Preview with #987C42

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

Preview Lab → · Contrast checker → · Palette generator →

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