#987C2B#987C2B

#987C2B is a mid, moderate orange. Relative luminance 0.213; OKLCH L 59.8% C 0.104 H 89.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#987C2B
RGBrgb(152, 124, 43)
HSLhsl(45, 56%, 38%)
HSVhsv(45, 72%, 60%)
CMYKcmyk(0%, 18.4%, 71.7%, 40.4%)
CIE-LABlab(53.24, 1.86, 46.33)
CIE-LCHlch(53.24, 46.37, 87.70°)
OKLaboklab(59.76% 0.001 0.1036)
OKLCHoklch(59.76% 0.104 89.4)
XYZxyz(20.5937, 21.2664, 5.3052)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987C2B #2B4798
analogous
#98452B #987C2B #7D982B
triadic
#987C2B #2B987C #7C2B98
tetradic
#987C2B #2B9845 #2B4798 #982B7D
square
#987C2B #2B9845 #2B4798 #982B7D
split-complementary
#987C2B #2B7D98 #452B98
monochromatic
#392E10 #68551E #987C2B #C7A339 #D5B969

Accessibility & contrast

On white

4.00
#987C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#987C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987C2B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987C2B#FFFFFF#000000##000000
##987C2B1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B20
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#A5716B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #987c2b;
/* rgb */ color: rgb(152, 124, 43);
/* oklch */ color: oklch(59.8% 0.104 89.4);
Tailwind
colors: {
  custom: {
    50: '#baa169',
    500: '#987c2b',
    950: '#000000',
  },
}
SCSS
$custom: #987c2b;
$custom-light: #baa169;
$custom-dark: #000000;
JSON
{
  "hex": "#987c2b",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 44.587,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59763,
    "c": 0.1036,
    "h": 89.4
  },
  "luminance": 0.21265
}

Semantic roles & 50–950 ramp

primary
#987C2B
secondary
#647ABB
accent
#6FDF49
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A

Preview Lab

Preview with #987C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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