#987B4E#987B4E

#987B4E is a mid, moderate orange. Relative luminance 0.214; OKLCH L 60.0% C 0.071 H 77.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#987B4E
RGBrgb(152, 123, 78)
HSLhsl(36, 32%, 45%)
HSVhsv(36, 49%, 60%)
CMYKcmyk(0%, 19.1%, 48.7%, 40.4%)
CIE-LABlab(53.38, 5.18, 28.76)
CIE-LCHlch(53.38, 29.22, 79.79°)
OKLaboklab(60% 0.0152 0.0698)
OKLCHoklch(60% 0.071 77.7)
XYZxyz(21.4078, 21.3925, 10.2078)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987B4E #4E6B98
analogous
#98564E #987B4E #90984E
triadic
#987B4E #4E987B #7B4E98
tetradic
#987B4E #4E9856 #4E6B98 #984E90
square
#987B4E #4E9856 #4E6B98 #984E90
split-complementary
#987B4E #4E9098 #564E98
monochromatic
#473A24 #705A39 #987B4E #B5996E #CAB697

Accessibility & contrast

On white

3.98
#987B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#987B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987B4E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987B4E#FFFFFF#000000##000000
##987B4E1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B4A
Deuteranopia (green-blind)
#8E824F
Tritanopia (blue-blind)
#A37370
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #987b4e;
/* rgb */ color: rgb(152, 123, 78);
/* oklch */ color: oklch(60.0% 0.071 77.7);
Tailwind
colors: {
  custom: {
    50: '#b8a180',
    500: '#987b4e',
    950: '#000000',
  },
}
SCSS
$custom: #987b4e;
$custom-light: #b8a180;
$custom-dark: #000000;
JSON
{
  "hex": "#987b4e",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 36.486,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.60002,
    "c": 0.0714,
    "h": 77.7
  },
  "luminance": 0.21391
}

Semantic roles & 50–950 ramp

primary
#987B4E
secondary
#8C9CB6
accent
#89C85F
background
#FBF9F7
surface
#F6F2EE
border
#D0CCC9
text
#120E0A
muted
#817E7C

Preview Lab

Preview with #987B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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