#987C2F#987C2F

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

Color values

HEX#987C2F
RGBrgb(152, 124, 47)
HSLhsl(44, 53%, 39%)
HSVhsv(44, 69%, 60%)
CMYKcmyk(0%, 18.4%, 69.1%, 40.4%)
CIE-LABlab(53.27, 2.09, 44.57)
CIE-LCHlch(53.27, 44.62, 87.31°)
OKLaboklab(59.8% 0.0022 0.1006)
OKLCHoklch(59.8% 0.101 88.8)
XYZxyz(20.6707, 21.2972, 5.7108)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987C2F #2F4B98
analogous
#98482F #987C2F #80982F
triadic
#987C2F #2F987C #7C2F98
tetradic
#987C2F #2F9848 #2F4B98 #982F80
square
#987C2F #2F9848 #2F4B98 #982F80
split-complementary
#987C2F #2F8098 #482F98
monochromatic
#3B3012 #695621 #987C2F #C4A140 #D2B86F

Accessibility & contrast

On white

3.99
#987C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#987C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987C2F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987C2F#FFFFFF#000000##000000
##987C2F1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B26
Deuteranopia (green-blind)
#918232
Tritanopia (blue-blind)
#A4726C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #987c2f;
/* rgb */ color: rgb(152, 124, 47);
/* oklch */ color: oklch(59.8% 0.101 88.8);
Tailwind
colors: {
  custom: {
    50: '#baa16c',
    500: '#987c2f',
    950: '#000000',
  },
}
SCSS
$custom: #987c2f;
$custom-light: #baa16c;
$custom-dark: #000000;
JSON
{
  "hex": "#987c2f",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 44,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.598,
    "c": 0.10063,
    "h": 88.8
  },
  "luminance": 0.21296
}

Semantic roles & 50–950 ramp

primary
#987C2F
secondary
#697FBA
accent
#72DC4C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A

Preview Lab

Preview with #987C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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