#987A3C#987A3C

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

Color values

HEX#987A3C
RGBrgb(152, 122, 60)
HSLhsl(40, 43%, 42%)
HSVhsv(40, 61%, 60%)
CMYKcmyk(0%, 19.7%, 60.5%, 40.4%)
CIE-LABlab(52.86, 4.12, 37.78)
CIE-LCHlch(52.86, 38.00, 83.78°)
OKLaboklab(59.52% 0.0098 0.088)
OKLCHoklch(59.52% 0.089 83.6)
XYZxyz(20.7251, 20.9220, 7.2208)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A3C #3C5A98
analogous
#984C3C #987A3C #88983C
triadic
#987A3C #3C987A #7A3C98
tetradic
#987A3C #3C984C #3C5A98 #983C88
square
#987A3C #3C984C #3C5A98 #983C88
split-complementary
#987A3C #3C8898 #4C3C98
monochromatic
#403419 #6C572B #987A3C #BC9A55 #CDB481

Accessibility & contrast

On white

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

On black

5.18
#987A3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A3C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A3C#FFFFFF#000000##000000
##987A3C1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #987a3c;
/* rgb */ color: rgb(152, 122, 60);
/* oklch */ color: oklch(59.5% 0.089 83.6);
Tailwind
colors: {
  custom: {
    50: '#b9a074',
    500: '#987a3c',
    950: '#000000',
  },
}
SCSS
$custom: #987a3c;
$custom-light: #b9a074;
$custom-dark: #000000;
JSON
{
  "hex": "#987a3c",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 60
  },
  "hsl": {
    "h": 40.435,
    "s": 43.396,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5952,
    "c": 0.08859,
    "h": 83.6
  },
  "luminance": 0.20921
}

Semantic roles & 50–950 ramp

primary
#987A3C
secondary
#798DB7
accent
#7ED355
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E08
muted
#817E7B

Preview Lab

Preview with #987A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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