#987A4E#987A4E

#987A4E is a mid, moderate orange. Relative luminance 0.211; OKLCH L 59.8% C 0.071 H 76.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#987A4E
RGBrgb(152, 122, 78)
HSLhsl(36, 32%, 45%)
HSVhsv(36, 49%, 60%)
CMYKcmyk(0%, 19.7%, 48.7%, 40.4%)
CIE-LABlab(53.11, 5.75, 28.42)
CIE-LCHlch(53.11, 28.99, 78.57°)
OKLaboklab(59.79% 0.0168 0.069)
OKLCHoklch(59.79% 0.071 76.3)
XYZxyz(21.2844, 21.1457, 10.1667)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A4E #4E6C98
analogous
#98554E #987A4E #91984E
triadic
#987A4E #4E987A #7A4E98
tetradic
#987A4E #4E9855 #4E6C98 #984E91
square
#987A4E #4E9855 #4E6C98 #984E91
split-complementary
#987A4E #4E9198 #554E98
monochromatic
#473924 #705A39 #987A4E #B5986E #CAB597

Accessibility & contrast

On white

4.02
#987A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#987A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A4E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A4E#FFFFFF#000000##000000
##987A4E1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B4B
Deuteranopia (green-blind)
#8D824F
Tritanopia (blue-blind)
#A3726F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #987a4e;
/* rgb */ color: rgb(152, 122, 78);
/* oklch */ color: oklch(59.8% 0.071 76.3);
Tailwind
colors: {
  custom: {
    50: '#b8a080',
    500: '#987a4e',
    950: '#000000',
  },
}
SCSS
$custom: #987a4e;
$custom-light: #b8a080;
$custom-dark: #000000;
JSON
{
  "hex": "#987a4e",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 35.676,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.59792,
    "c": 0.07103,
    "h": 76.3
  },
  "luminance": 0.21145
}

Semantic roles & 50–950 ramp

primary
#987A4E
secondary
#8C9DB6
accent
#8AC85F
background
#FBF9F7
surface
#F6F2EE
border
#D0CCC9
text
#120E0A
muted
#817E7C

Preview Lab

Preview with #987A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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