#987D52#987D52

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

Color values

HEX#987D52
RGBrgb(152, 125, 82)
HSLhsl(37, 30%, 46%)
HSVhsv(37, 46%, 60%)
CMYKcmyk(0%, 17.8%, 46.1%, 40.4%)
CIE-LABlab(53.98, 4.47, 27.31)
CIE-LCHlch(53.98, 27.67, 80.71°)
OKLaboklab(60.49% 0.0135 0.0667)
OKLCHoklch(60.49% 0.068 78.6)
XYZxyz(21.8063, 21.9529, 11.0697)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987D52 #526D98
analogous
#985A52 #987D52 #909852
triadic
#987D52 #52987D #7D5298
tetradic
#987D52 #52985A #526D98 #985290
square
#987D52 #52985A #526D98 #985290
split-complementary
#987D52 #529098 #5A5298
monochromatic
#483C27 #705C3D #987D52 #B49B73 #C9B79B

Accessibility & contrast

On white

3.90
#987D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#987D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987D52
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987D52#FFFFFF#000000##000000
##987D521.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D4F
Deuteranopia (green-blind)
#8F8453
Tritanopia (blue-blind)
#A27572
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #987d52;
/* rgb */ color: rgb(152, 125, 82);
/* oklch */ color: oklch(60.5% 0.068 78.6);
Tailwind
colors: {
  custom: {
    50: '#b8a283',
    500: '#987d52',
    950: '#000000',
  },
}
SCSS
$custom: #987d52;
$custom-light: #b8a283;
$custom-dark: #000000;
JSON
{
  "hex": "#987d52",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 82
  },
  "hsl": {
    "h": 36.857,
    "s": 29.915,
    "l": 45.882
  },
  "oklch": {
    "l": 0.60494,
    "c": 0.06805,
    "h": 78.6
  },
  "luminance": 0.21952
}

Semantic roles & 50–950 ramp

primary
#987D52
secondary
#909EB6
accent
#88C662
background
#FBF9F8
surface
#F6F2EF
border
#D0CCCA
text
#120F0A
muted
#817E7C

Preview Lab

Preview with #987D52

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

Preview Lab → · Contrast checker → · Palette generator →

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