#987940#987940

#987940 is a mid, moderate orange. Relative luminance 0.207; OKLCH L 59.4% C 0.084 H 81.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#987940
RGBrgb(152, 121, 64)
HSLhsl(39, 41%, 42%)
HSVhsv(39, 58%, 60%)
CMYKcmyk(0%, 20.4%, 57.9%, 40.4%)
CIE-LABlab(52.64, 5.01, 35.44)
CIE-LCHlch(52.64, 35.79, 81.95°)
OKLaboklab(59.36% 0.013 0.0834)
OKLCHoklch(59.36% 0.084 81.2)
XYZxyz(20.7127, 20.7216, 7.7582)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987940 #405F98
analogous
#984D40 #987940 #8B9840
triadic
#987940 #409879 #794098
tetradic
#987940 #40984D #405F98 #98408B
square
#987940 #40984D #405F98 #98408B
split-complementary
#987940 #408B98 #4D4098
monochromatic
#42341C #6D572E #987940 #BA995B #CCB486

Accessibility & contrast

On white

4.08
#987940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#987940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987940
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987940#FFFFFF#000000##000000
##9879401.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86793B
Deuteranopia (green-blind)
#8D8142
Tritanopia (blue-blind)
#A4706C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987940;
/* rgb */ color: rgb(152, 121, 64);
/* oklch */ color: oklch(59.4% 0.084 81.2);
Tailwind
colors: {
  custom: {
    50: '#b99f76',
    500: '#987940',
    950: '#000000',
  },
}
SCSS
$custom: #987940;
$custom-light: #b99f76;
$custom-dark: #000000;
JSON
{
  "hex": "#987940",
  "rgb": {
    "r": 152,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 38.864,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59363,
    "c": 0.08443,
    "h": 81.2
  },
  "luminance": 0.2072
}

Semantic roles & 50–950 ramp

primary
#987940
secondary
#7D91B7
accent
#82D157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E08
muted
#817E7B

Preview Lab

Preview with #987940

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

Preview Lab → · Contrast checker → · Palette generator →

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