#987A2C#987A2C

#987A2C is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.3% C 0.102 H 87.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#987A2C
RGBrgb(152, 122, 44)
HSLhsl(43, 55%, 38%)
HSVhsv(43, 71%, 60%)
CMYKcmyk(0%, 19.7%, 71.1%, 40.4%)
CIE-LABlab(52.71, 3.05, 45.34)
CIE-LCHlch(52.71, 45.44, 86.16°)
OKLaboklab(59.35% 0.0046 0.1017)
OKLCHoklch(59.35% 0.102 87.4)
XYZxyz(20.3642, 20.7776, 5.3203)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A2C #2C4A98
analogous
#98442C #987A2C #80982C
triadic
#987A2C #2C987A #7A2C98
tetradic
#987A2C #2C9844 #2C4A98 #982C80
square
#987A2C #2C9844 #2C4A98 #982C80
split-complementary
#987A2C #2C8098 #442C98
monochromatic
#392E11 #69541E #987A2C #C6A03B #D4B76A

Accessibility & contrast

On white

4.07
#987A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#987A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A2C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A2C#FFFFFF#000000##000000
##987A2C1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887922
Deuteranopia (green-blind)
#908130
Tritanopia (blue-blind)
#A56F6A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987a2c;
/* rgb */ color: rgb(152, 122, 44);
/* oklch */ color: oklch(59.3% 0.102 87.4);
Tailwind
colors: {
  custom: {
    50: '#baa06a',
    500: '#987a2c',
    950: '#000000',
  },
}
SCSS
$custom: #987a2c;
$custom-light: #baa06a;
$custom-dark: #000000;
JSON
{
  "hex": "#987a2c",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 43.333,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59345,
    "c": 0.10179,
    "h": 87.4
  },
  "luminance": 0.20776
}

Semantic roles & 50–950 ramp

primary
#987A2C
secondary
#657DBB
accent
#73DE49
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A

Preview Lab

Preview with #987A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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