#987C31#987C31

#987C31 is a mid, moderate orange. Relative luminance 0.213; OKLCH L 59.8% C 0.099 H 88.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#987C31
RGBrgb(152, 124, 49)
HSLhsl(44, 51%, 39%)
HSVhsv(44, 68%, 60%)
CMYKcmyk(0%, 18.4%, 67.8%, 40.4%)
CIE-LABlab(53.29, 2.21, 43.66)
CIE-LCHlch(53.29, 43.72, 87.10°)
OKLaboklab(59.82% 0.0028 0.099)
OKLCHoklch(59.82% 0.099 88.4)
XYZxyz(20.7120, 21.3137, 5.9282)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987C31 #314D98
analogous
#984831 #987C31 #819831
triadic
#987C31 #31987C #7C3198
tetradic
#987C31 #319848 #314D98 #983181
square
#987C31 #319848 #314D98 #983181
split-complementary
#987C31 #318198 #483198
monochromatic
#3B3013 #6A5622 #987C31 #C3A044 #D2B872

Accessibility & contrast

On white

3.99
#987C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#987C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987C31
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987C31#FFFFFF#000000##000000
##987C311.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B28
Deuteranopia (green-blind)
#918234
Tritanopia (blue-blind)
#A4726C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #987c31;
/* rgb */ color: rgb(152, 124, 49);
/* oklch */ color: oklch(59.8% 0.099 88.4);
Tailwind
colors: {
  custom: {
    50: '#baa16d',
    500: '#987c31',
    950: '#000000',
  },
}
SCSS
$custom: #987c31;
$custom-light: #baa16d;
$custom-dark: #000000;
JSON
{
  "hex": "#987c31",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 49
  },
  "hsl": {
    "h": 43.689,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5982,
    "c": 0.09907,
    "h": 88.4
  },
  "luminance": 0.21312
}

Semantic roles & 50–950 ramp

primary
#987C31
secondary
#6B81B9
accent
#74DB4D
background
#FBF9F6
surface
#F7F2EC
border
#D0CCC7
text
#120E07
muted
#817E7A

Preview Lab

Preview with #987C31

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

Preview Lab → · Contrast checker → · Palette generator →

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