#987A42#987A42

#987A42 is a mid, moderate orange. Relative luminance 0.210; OKLCH L 59.6% C 0.083 H 81.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#987A42
RGBrgb(152, 122, 66)
HSLhsl(39, 39%, 43%)
HSVhsv(39, 57%, 60%)
CMYKcmyk(0%, 19.7%, 56.6%, 40.4%)
CIE-LABlab(52.94, 4.61, 34.73)
CIE-LCHlch(52.94, 35.03, 82.44°)
OKLaboklab(59.6% 0.0121 0.0821)
OKLCHoklch(59.6% 0.083 81.6)
XYZxyz(20.8928, 20.9890, 8.1040)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A42 #426098
analogous
#984F42 #987A42 #8B9842
triadic
#987A42 #42987A #7A4298
tetradic
#987A42 #42984F #426098 #98428B
square
#987A42 #42984F #426098 #98428B
split-complementary
#987A42 #428B98 #4F4298
monochromatic
#43361D #6D582F #987A42 #B9995E #CCB489

Accessibility & contrast

On white

4.04
#987A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#987A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A42
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A42#FFFFFF#000000##000000
##987A421.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A3D
Deuteranopia (green-blind)
#8E8244
Tritanopia (blue-blind)
#A4716D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987a42;
/* rgb */ color: rgb(152, 122, 66);
/* oklch */ color: oklch(59.6% 0.083 81.6);
Tailwind
colors: {
  custom: {
    50: '#b9a078',
    500: '#987a42',
    950: '#000000',
  },
}
SCSS
$custom: #987a42;
$custom-light: #b9a078;
$custom-dark: #000000;
JSON
{
  "hex": "#987a42",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 39.07,
    "s": 39.45,
    "l": 42.745
  },
  "oklch": {
    "l": 0.59602,
    "c": 0.08297,
    "h": 81.6
  },
  "luminance": 0.20988
}

Semantic roles & 50–950 ramp

primary
#987A42
secondary
#7F93B7
accent
#82CF58
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E09
muted
#817E7B

Preview Lab

Preview with #987A42

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

Preview Lab → · Contrast checker → · Palette generator →

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