#987740#987740

#987740 is a mid, moderate orange. Relative luminance 0.202; OKLCH L 58.9% C 0.084 H 78.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#987740
RGBrgb(152, 119, 64)
HSLhsl(38, 41%, 42%)
HSVhsv(38, 58%, 60%)
CMYKcmyk(0%, 21.7%, 57.9%, 40.4%)
CIE-LABlab(52.11, 6.15, 34.80)
CIE-LCHlch(52.11, 35.34, 79.98°)
OKLaboklab(58.94% 0.0163 0.082)
OKLCHoklch(58.94% 0.084 78.8)
XYZxyz(20.4721, 20.2405, 7.6780)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987740 #406198
analogous
#984B40 #987740 #8D9840
triadic
#987740 #409877 #774098
tetradic
#987740 #40984B #406198 #98408D
square
#987740 #40984B #406198 #98408D
split-complementary
#987740 #408D98 #4B4098
monochromatic
#42341C #6D552E #987740 #BA965B #CCB286

Accessibility & contrast

On white

4.16
#987740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#987740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987740
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987740#FFFFFF#000000##000000
##9877401.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84773B
Deuteranopia (green-blind)
#8C8042
Tritanopia (blue-blind)
#A46E6A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #987740;
/* rgb */ color: rgb(152, 119, 64);
/* oklch */ color: oklch(58.9% 0.084 78.8);
Tailwind
colors: {
  custom: {
    50: '#b99e76',
    500: '#987740',
    950: '#000000',
  },
}
SCSS
$custom: #987740;
$custom-light: #b99e76;
$custom-dark: #000000;
JSON
{
  "hex": "#987740",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 64
  },
  "hsl": {
    "h": 37.5,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.58943,
    "c": 0.08364,
    "h": 78.8
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

primary
#987740
secondary
#7D93B7
accent
#85D157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E08
muted
#817E7B

Preview Lab

Preview with #987740

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

Preview Lab → · Contrast checker → · Palette generator →

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