#987E52#987E52

#987E52 is a mid, moderate orange. Relative luminance 0.222; OKLCH L 60.7% C 0.069 H 80.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#987E52
RGBrgb(152, 126, 82)
HSLhsl(38, 30%, 46%)
HSVhsv(38, 46%, 60%)
CMYKcmyk(0%, 17.1%, 46.1%, 40.4%)
CIE-LABlab(54.25, 3.90, 27.65)
CIE-LCHlch(54.25, 27.92, 81.97°)
OKLaboklab(60.71% 0.0118 0.0675)
OKLCHoklch(60.71% 0.069 80.1)
XYZxyz(21.9335, 22.2074, 11.1122)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987E52 #526C98
analogous
#985B52 #987E52 #8F9852
triadic
#987E52 #52987E #7E5298
tetradic
#987E52 #52985B #526C98 #98528F
square
#987E52 #52985B #526C98 #98528F
split-complementary
#987E52 #528F98 #5B5298
monochromatic
#483C27 #705D3D #987E52 #B49C73 #C9B89B

Accessibility & contrast

On white

3.86
#987E52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#987E52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987E52
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987E52#FFFFFF#000000##000000
##987E521.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4F
Deuteranopia (green-blind)
#8F8453
Tritanopia (blue-blind)
#A27673
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #987e52;
/* rgb */ color: rgb(152, 126, 82);
/* oklch */ color: oklch(60.7% 0.069 80.1);
Tailwind
colors: {
  custom: {
    50: '#b8a383',
    500: '#987e52',
    950: '#000000',
  },
}
SCSS
$custom: #987e52;
$custom-light: #b8a383;
$custom-dark: #000000;
JSON
{
  "hex": "#987e52",
  "rgb": {
    "r": 152,
    "g": 126,
    "b": 82
  },
  "hsl": {
    "h": 37.714,
    "s": 29.915,
    "l": 45.882
  },
  "oklch": {
    "l": 0.60705,
    "c": 0.06852,
    "h": 80.1
  },
  "luminance": 0.22206
}

Semantic roles & 50–950 ramp

primary
#987E52
secondary
#909EB6
accent
#87C662
background
#FBFAF8
surface
#F6F3EF
border
#D0CDCA
text
#110F0A
muted
#807F7C

Preview Lab

Preview with #987E52

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

Preview Lab → · Contrast checker → · Palette generator →

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