#987B3D#987B3D

#987B3D is a mid, moderate orange. Relative luminance 0.212; OKLCH L 59.7% C 0.088 H 84.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#987B3D
RGBrgb(152, 123, 61)
HSLhsl(41, 43%, 42%)
HSVhsv(41, 60%, 60%)
CMYKcmyk(0%, 19.1%, 59.9%, 40.4%)
CIE-LABlab(53.15, 3.63, 37.59)
CIE-LCHlch(53.15, 37.76, 84.48°)
OKLaboklab(59.75% 0.0085 0.0878)
OKLCHoklch(59.75% 0.088 84.4)
XYZxyz(20.8752, 21.1795, 7.4025)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987B3D #3D5A98
analogous
#984E3D #987B3D #88983D
triadic
#987B3D #3D987B #7B3D98
tetradic
#987B3D #3D984E #3D5A98 #983D88
square
#987B3D #3D984E #3D5A98 #983D88
split-complementary
#987B3D #3D8898 #4E3D98
monochromatic
#41341A #6C582B #987B3D #BB9B57 #CDB582

Accessibility & contrast

On white

4.01
#987B3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#987B3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987B3D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987B3D#FFFFFF#000000##000000
##987B3D1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A37
Deuteranopia (green-blind)
#8F823F
Tritanopia (blue-blind)
#A4716D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #987b3d;
/* rgb */ color: rgb(152, 123, 61);
/* oklch */ color: oklch(59.7% 0.088 84.4);
Tailwind
colors: {
  custom: {
    50: '#b9a174',
    500: '#987b3d',
    950: '#000000',
  },
}
SCSS
$custom: #987b3d;
$custom-light: #b9a174;
$custom-dark: #000000;
JSON
{
  "hex": "#987b3d",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 61
  },
  "hsl": {
    "h": 40.879,
    "s": 42.723,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59745,
    "c": 0.08817,
    "h": 84.4
  },
  "luminance": 0.21178
}

Semantic roles & 50–950 ramp

primary
#987B3D
secondary
#7A8DB7
accent
#7DD355
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E08
muted
#817E7B

Preview Lab

Preview with #987B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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