#987D31#987D31

#987D31 is a mid, moderate orange. Relative luminance 0.216; OKLCH L 60.0% C 0.100 H 89.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#987D31
RGBrgb(152, 125, 49)
HSLhsl(44, 51%, 39%)
HSVhsv(44, 68%, 60%)
CMYKcmyk(0%, 17.8%, 67.8%, 40.4%)
CIE-LABlab(53.56, 1.65, 43.96)
CIE-LCHlch(53.56, 43.99, 87.85°)
OKLaboklab(60.03% 0.0012 0.0997)
OKLCHoklch(60.03% 0.1 89.3)
XYZxyz(20.8380, 21.5656, 5.9701)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987D31 #314C98
analogous
#984A31 #987D31 #809831
triadic
#987D31 #31987D #7D3198
tetradic
#987D31 #31984A #314C98 #983180
square
#987D31 #31984A #314C98 #983180
split-complementary
#987D31 #318098 #4A3198
monochromatic
#3B3113 #6A5722 #987D31 #C3A144 #D2B872

Accessibility & contrast

On white

3.95
#987D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#987D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987D31
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987D31#FFFFFF#000000##000000
##987D311.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C28
Deuteranopia (green-blind)
#918334
Tritanopia (blue-blind)
#A4736D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #987d31;
/* rgb */ color: rgb(152, 125, 49);
/* oklch */ color: oklch(60.0% 0.100 89.3);
Tailwind
colors: {
  custom: {
    50: '#b9a26d',
    500: '#987d31',
    950: '#000000',
  },
}
SCSS
$custom: #987d31;
$custom-light: #b9a26d;
$custom-dark: #000000;
JSON
{
  "hex": "#987d31",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 44.272,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60034,
    "c": 0.09966,
    "h": 89.3
  },
  "luminance": 0.21564
}

Semantic roles & 50–950 ramp

primary
#987D31
secondary
#6B80B9
accent
#72DB4D
background
#FBF9F6
surface
#F7F2EC
border
#D0CCC7
text
#120F07
muted
#817E7A

Preview Lab

Preview with #987D31

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

Preview Lab → · Contrast checker → · Palette generator →

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