#987A36#987A36

#987A36 is a mid, moderate orange. Relative luminance 0.209; OKLCH L 59.4% C 0.094 H 85.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#987A36
RGBrgb(152, 122, 54)
HSLhsl(42, 48%, 40%)
HSVhsv(42, 64%, 60%)
CMYKcmyk(0%, 19.7%, 64.5%, 40.4%)
CIE-LABlab(52.80, 3.68, 40.72)
CIE-LCHlch(52.80, 40.89, 84.84°)
OKLaboklab(59.45% 0.0077 0.0936)
OKLCHoklch(59.45% 0.094 85.3)
XYZxyz(20.5754, 20.8621, 6.4324)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A36 #365498
analogous
#984936 #987A36 #859836
triadic
#987A36 #36987A #7A3698
tetradic
#987A36 #369849 #365498 #983685
square
#987A36 #369849 #365498 #983685
split-complementary
#987A36 #368598 #493698
monochromatic
#3E3216 #6B5626 #987A36 #BF9C4C #CFB579

Accessibility & contrast

On white

4.06
#987A36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#987A36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A36
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A36#FFFFFF#000000##000000
##987A361.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88792F
Deuteranopia (green-blind)
#8F8139
Tritanopia (blue-blind)
#A4706B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987a36;
/* rgb */ color: rgb(152, 122, 54);
/* oklch */ color: oklch(59.4% 0.094 85.3);
Tailwind
colors: {
  custom: {
    50: '#b9a070',
    500: '#987a36',
    950: '#000000',
  },
}
SCSS
$custom: #987a36;
$custom-light: #b9a070;
$custom-dark: #000000;
JSON
{
  "hex": "#987a36",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 54
  },
  "hsl": {
    "h": 41.633,
    "s": 47.573,
    "l": 40.392
  },
  "oklch": {
    "l": 0.59448,
    "c": 0.09388,
    "h": 85.3
  },
  "luminance": 0.20861
}

Semantic roles & 50–950 ramp

primary
#987A36
secondary
#7287B8
accent
#7AD751
background
#FBF9F6
surface
#F7F2EC
border
#D0CCC7
text
#120E07
muted
#817E7A

Preview Lab

Preview with #987A36

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

Preview Lab → · Contrast checker → · Palette generator →

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