#987E42#987E42

#987E42 is a mid, moderate orange. Relative luminance 0.220; OKLCH L 60.5% C 0.085 H 86.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#987E42
RGBrgb(152, 126, 66)
HSLhsl(42, 39%, 43%)
HSVhsv(42, 57%, 60%)
CMYKcmyk(0%, 17.1%, 56.6%, 40.4%)
CIE-LABlab(54.02, 2.35, 36.02)
CIE-LCHlch(54.02, 36.09, 86.27°)
OKLaboklab(60.45% 0.0054 0.0849)
OKLCHoklch(60.45% 0.085 86.3)
XYZxyz(21.3940, 21.9916, 8.2711)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987E42 #425C98
analogous
#985342 #987E42 #879842
triadic
#987E42 #42987E #7E4298
tetradic
#987E42 #429853 #425C98 #984287
square
#987E42 #429853 #425C98 #984287
split-complementary
#987E42 #428798 #534298
monochromatic
#43371D #6D5B2F #987E42 #B99E5E #CCB789

Accessibility & contrast

On white

3.89
#987E42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#987E42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987E42
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987E42#FFFFFF#000000##000000
##987E421.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D3D
Deuteranopia (green-blind)
#918444
Tritanopia (blue-blind)
#A37570
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #987e42;
/* rgb */ color: rgb(152, 126, 66);
/* oklch */ color: oklch(60.5% 0.085 86.3);
Tailwind
colors: {
  custom: {
    50: '#b9a378',
    500: '#987e42',
    950: '#000000',
  },
}
SCSS
$custom: #987e42;
$custom-light: #b9a378;
$custom-dark: #000000;
JSON
{
  "hex": "#987e42",
  "rgb": {
    "r": 152,
    "g": 126,
    "b": 66
  },
  "hsl": {
    "h": 41.86,
    "s": 39.45,
    "l": 42.745
  },
  "oklch": {
    "l": 0.60452,
    "c": 0.08508,
    "h": 86.3
  },
  "luminance": 0.2199
}

Semantic roles & 50–950 ramp

primary
#987E42
secondary
#7F90B7
accent
#7CCF58
background
#FBFAF7
surface
#F6F3ED
border
#D0CDC8
text
#120F09
muted
#817F7B

Preview Lab

Preview with #987E42

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

Preview Lab → · Contrast checker → · Palette generator →

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