#987840#987840

#987840 is a mid, moderate orange. Relative luminance 0.205; OKLCH L 59.2% C 0.084 H 80.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#987840
RGBrgb(152, 120, 64)
HSLhsl(38, 41%, 42%)
HSVhsv(38, 58%, 60%)
CMYKcmyk(0%, 21.1%, 57.9%, 40.4%)
CIE-LABlab(52.38, 5.58, 35.12)
CIE-LCHlch(52.38, 35.56, 80.97°)
OKLaboklab(59.15% 0.0146 0.0827)
OKLCHoklch(59.15% 0.084 80)
XYZxyz(20.5918, 20.4798, 7.7179)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987840 #406098
analogous
#984C40 #987840 #8C9840
triadic
#987840 #409878 #784098
tetradic
#987840 #40984C #406098 #98408C
square
#987840 #40984C #406098 #98408C
split-complementary
#987840 #408C98 #4C4098
monochromatic
#42341C #6D562E #987840 #BA985B #CCB386

Accessibility & contrast

On white

4.12
#987840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#987840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987840
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987840#FFFFFF#000000##000000
##9878401.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85783B
Deuteranopia (green-blind)
#8D8042
Tritanopia (blue-blind)
#A46F6B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #987840;
/* rgb */ color: rgb(152, 120, 64);
/* oklch */ color: oklch(59.2% 0.084 80.0);
Tailwind
colors: {
  custom: {
    50: '#b99e76',
    500: '#987840',
    950: '#000000',
  },
}
SCSS
$custom: #987840;
$custom-light: #b99e76;
$custom-dark: #000000;
JSON
{
  "hex": "#987840",
  "rgb": {
    "r": 152,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 38.182,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59152,
    "c": 0.08401,
    "h": 80
  },
  "luminance": 0.20479
}

Semantic roles & 50–950 ramp

primary
#987840
secondary
#7D92B7
accent
#83D157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E08
muted
#817E7B

Preview Lab

Preview with #987840

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

Preview Lab → · Contrast checker → · Palette generator →

#987840 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva