#987540#987540

#987540 is a mid, moderate orange. Relative luminance 0.198; OKLCH L 58.5% C 0.083 H 76.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#987540
RGBrgb(152, 117, 64)
HSLhsl(36, 41%, 42%)
HSVhsv(36, 58%, 60%)
CMYKcmyk(0%, 23%, 57.9%, 40.4%)
CIE-LABlab(51.58, 7.29, 34.16)
CIE-LCHlch(51.58, 34.93, 77.96°)
OKLaboklab(58.53% 0.0197 0.0806)
OKLCHoklch(58.53% 0.083 76.3)
XYZxyz(20.2366, 19.7695, 7.5995)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987540 #406398
analogous
#984940 #987540 #8F9840
triadic
#987540 #409875 #754098
tetradic
#987540 #409849 #406398 #98408F
square
#987540 #409849 #406398 #98408F
split-complementary
#987540 #408F98 #494098
monochromatic
#42331C #6D542E #987540 #BA945B #CCB086

Accessibility & contrast

On white

4.24
#987540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#987540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987540
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987540#FFFFFF#000000##000000
##9875401.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82763B
Deuteranopia (green-blind)
#8B7E41
Tritanopia (blue-blind)
#A46C69
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #987540;
/* rgb */ color: rgb(152, 117, 64);
/* oklch */ color: oklch(58.5% 0.083 76.3);
Tailwind
colors: {
  custom: {
    50: '#b99c76',
    500: '#987540',
    950: '#000000',
  },
}
SCSS
$custom: #987540;
$custom-light: #b99c76;
$custom-dark: #000000;
JSON
{
  "hex": "#987540",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 64
  },
  "hsl": {
    "h": 36.136,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.083,
    "h": 76.3
  },
  "luminance": 0.19768
}

Semantic roles & 50–950 ramp

primary
#987540
secondary
#7D94B7
accent
#87D157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E08
muted
#817E7B

Preview Lab

Preview with #987540

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

Preview Lab → · Contrast checker → · Palette generator →

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