#987A3D#987A3D

#987A3D is a mid, moderate orange. Relative luminance 0.209; OKLCH L 59.5% C 0.088 H 83.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#987A3D
RGBrgb(152, 122, 61)
HSLhsl(40, 43%, 42%)
HSVhsv(40, 60%, 60%)
CMYKcmyk(0%, 19.7%, 59.9%, 40.4%)
CIE-LABlab(52.88, 4.20, 37.27)
CIE-LCHlch(52.88, 37.51, 83.58°)
OKLaboklab(59.53% 0.0102 0.0871)
OKLCHoklch(59.53% 0.088 83.3)
XYZxyz(20.7517, 20.9326, 7.3614)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A3D #3D5B98
analogous
#984D3D #987A3D #89983D
triadic
#987A3D #3D987A #7A3D98
tetradic
#987A3D #3D984D #3D5B98 #983D89
square
#987A3D #3D984D #3D5B98 #983D89
split-complementary
#987A3D #3D8998 #4D3D98
monochromatic
#41341A #6C572B #987A3D #BB9A57 #CDB482

Accessibility & contrast

On white

4.05
#987A3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#987A3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A3D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A3D#FFFFFF#000000##000000
##987A3D1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A37
Deuteranopia (green-blind)
#8E813F
Tritanopia (blue-blind)
#A4706C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987a3d;
/* rgb */ color: rgb(152, 122, 61);
/* oklch */ color: oklch(59.5% 0.088 83.3);
Tailwind
colors: {
  custom: {
    50: '#b9a074',
    500: '#987a3d',
    950: '#000000',
  },
}
SCSS
$custom: #987a3d;
$custom-light: #b9a074;
$custom-dark: #000000;
JSON
{
  "hex": "#987a3d",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 61
  },
  "hsl": {
    "h": 40.22,
    "s": 42.723,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59533,
    "c": 0.08767,
    "h": 83.3
  },
  "luminance": 0.20931
}

Semantic roles & 50–950 ramp

primary
#987A3D
secondary
#7A8EB7
accent
#7FD355
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E08
muted
#817E7B

Preview Lab

Preview with #987A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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