#987C2E#987C2E

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

Color values

HEX#987C2E
RGBrgb(152, 124, 46)
HSLhsl(44, 54%, 39%)
HSVhsv(44, 70%, 60%)
CMYKcmyk(0%, 18.4%, 69.7%, 40.4%)
CIE-LABlab(53.26, 2.03, 45.02)
CIE-LCHlch(53.26, 45.06, 87.42°)
OKLaboklab(59.79% 0.0019 0.1014)
OKLCHoklch(59.79% 0.101 88.9)
XYZxyz(20.6508, 21.2892, 5.6058)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987C2E #2E4A98
analogous
#98472E #987C2E #7F982E
triadic
#987C2E #2E987C #7C2E98
tetradic
#987C2E #2E9847 #2E4A98 #982E7F
square
#987C2E #2E9847 #2E4A98 #982E7F
split-complementary
#987C2E #2E7F98 #472E98
monochromatic
#3A2F12 #695620 #987C2E #C5A13E #D3B86D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987C2E#FFFFFF#000000##000000
##987C2E1.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)
#8A7B24
Deuteranopia (green-blind)
#918232
Tritanopia (blue-blind)
#A5726C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #987c2e;
/* rgb */ color: rgb(152, 124, 46);
/* oklch */ color: oklch(59.8% 0.101 88.9);
Tailwind
colors: {
  custom: {
    50: '#baa16b',
    500: '#987c2e',
    950: '#000000',
  },
}
SCSS
$custom: #987c2e;
$custom-light: #baa16b;
$custom-dark: #000000;
JSON
{
  "hex": "#987c2e",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 44.151,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5979,
    "c": 0.1014,
    "h": 88.9
  },
  "luminance": 0.21288
}

Semantic roles & 50–950 ramp

primary
#987C2E
secondary
#687DBA
accent
#71DD4B
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A

Preview Lab

Preview with #987C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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