#987B2A#987B2A

#987B2A is a mid, moderate orange. Relative luminance 0.210; OKLCH L 59.5% C 0.104 H 88.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#987B2A
RGBrgb(152, 123, 42)
HSLhsl(44, 57%, 38%)
HSVhsv(44, 72%, 60%)
CMYKcmyk(0%, 19.1%, 72.4%, 40.4%)
CIE-LABlab(52.96, 2.37, 46.48)
CIE-LCHlch(52.96, 46.54, 87.08°)
OKLaboklab(59.54% 0.0024 0.1037)
OKLCHoklch(59.54% 0.104 88.7)
XYZxyz(20.4509, 21.0098, 5.1682)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987B2A #2A4798
analogous
#98442A #987B2A #7E982A
triadic
#987B2A #2A987B #7B2A98
tetradic
#987B2A #2A9844 #2A4798 #982A7E
square
#987B2A #2A9844 #2A4798 #982A7E
split-complementary
#987B2A #2A7E98 #442A98
monochromatic
#382D10 #68541D #987B2A #C8A237 #D5B867

Accessibility & contrast

On white

4.04
#987B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#987B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987B2A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987B2A#FFFFFF#000000##000000
##987B2A1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1F
Deuteranopia (green-blind)
#90822E
Tritanopia (blue-blind)
#A5706A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987b2a;
/* rgb */ color: rgb(152, 123, 42);
/* oklch */ color: oklch(59.5% 0.104 88.7);
Tailwind
colors: {
  custom: {
    50: '#baa069',
    500: '#987b2a',
    950: '#000000',
  },
}
SCSS
$custom: #987b2a;
$custom-light: #baa069;
$custom-dark: #000000;
JSON
{
  "hex": "#987b2a",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 44.182,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5954,
    "c": 0.10377,
    "h": 88.7
  },
  "luminance": 0.21008
}

Semantic roles & 50–950 ramp

primary
#987B2A
secondary
#627ABB
accent
#70E048
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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