#987B2B#987B2B

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

Color values

HEX#987B2B
RGBrgb(152, 123, 43)
HSLhsl(44, 56%, 38%)
HSVhsv(44, 72%, 60%)
CMYKcmyk(0%, 19.1%, 71.7%, 40.4%)
CIE-LABlab(52.97, 2.43, 46.05)
CIE-LCHlch(52.97, 46.12, 86.99°)
OKLaboklab(59.55% 0.0026 0.103)
OKLCHoklch(59.55% 0.103 88.5)
XYZxyz(20.4690, 21.0170, 5.2636)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987B2B #2B4898
analogous
#98452B #987B2B #7E982B
triadic
#987B2B #2B987B #7B2B98
tetradic
#987B2B #2B9845 #2B4898 #982B7E
square
#987B2B #2B9845 #2B4898 #982B7E
split-complementary
#987B2B #2B7E98 #452B98
monochromatic
#392E10 #68541E #987B2B #C7A139 #D5B869

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987B2B#FFFFFF#000000##000000
##987B2B1.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)
#897A20
Deuteranopia (green-blind)
#90822F
Tritanopia (blue-blind)
#A5706B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987b2b;
/* rgb */ color: rgb(152, 123, 43);
/* oklch */ color: oklch(59.5% 0.103 88.5);
Tailwind
colors: {
  custom: {
    50: '#baa069',
    500: '#987b2b',
    950: '#000000',
  },
}
SCSS
$custom: #987b2b;
$custom-light: #baa069;
$custom-dark: #000000;
JSON
{
  "hex": "#987b2b",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 44.037,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59549,
    "c": 0.10305,
    "h": 88.5
  },
  "luminance": 0.21016
}

Semantic roles & 50–950 ramp

primary
#987B2B
secondary
#647BBB
accent
#71DF49
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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