#987C2A#987C2A

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

Color values

HEX#987C2A
RGBrgb(152, 124, 42)
HSLhsl(45, 57%, 38%)
HSVhsv(45, 72%, 60%)
CMYKcmyk(0%, 18.4%, 72.4%, 40.4%)
CIE-LABlab(53.23, 1.81, 46.76)
CIE-LCHlch(53.23, 46.79, 87.79°)
OKLaboklab(59.75% 0.0007 0.1043)
OKLCHoklch(59.75% 0.104 89.6)
XYZxyz(20.5756, 21.2591, 5.2097)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987C2A #2A4698
analogous
#98452A #987C2A #7D982A
triadic
#987C2A #2A987C #7C2A98
tetradic
#987C2A #2A9845 #2A4698 #982A7D
square
#987C2A #2A9845 #2A4698 #982A7D
split-complementary
#987C2A #2A7D98 #452A98
monochromatic
#382E10 #68551D #987C2A #C8A337 #D5B967

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987C2A#FFFFFF#000000##000000
##987C2A1.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)
#8A7B1F
Deuteranopia (green-blind)
#91822E
Tritanopia (blue-blind)
#A5716B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #987c2a;
/* rgb */ color: rgb(152, 124, 42);
/* oklch */ color: oklch(59.8% 0.104 89.6);
Tailwind
colors: {
  custom: {
    50: '#baa169',
    500: '#987c2a',
    950: '#000000',
  },
}
SCSS
$custom: #987c2a;
$custom-light: #baa169;
$custom-dark: #000000;
JSON
{
  "hex": "#987c2a",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 44.727,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59754,
    "c": 0.10432,
    "h": 89.6
  },
  "luminance": 0.21258
}

Semantic roles & 50–950 ramp

primary
#987C2A
secondary
#6279BB
accent
#6FE048
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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