#987A2A#987A2A

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

Color values

HEX#987A2A
RGBrgb(152, 122, 42)
HSLhsl(44, 57%, 38%)
HSVhsv(44, 72%, 60%)
CMYKcmyk(0%, 19.7%, 72.4%, 40.4%)
CIE-LABlab(52.69, 2.94, 46.21)
CIE-LCHlch(52.69, 46.30, 86.36°)
OKLaboklab(59.33% 0.004 0.1032)
OKLCHoklch(59.33% 0.103 87.8)
XYZxyz(20.3275, 20.7629, 5.1270)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A2A #2A4898
analogous
#98432A #987A2A #7F982A
triadic
#987A2A #2A987A #7A2A98
tetradic
#987A2A #2A9843 #2A4898 #982A7F
square
#987A2A #2A9843 #2A4898 #982A7F
split-complementary
#987A2A #2A7F98 #432A98
monochromatic
#382D10 #68541D #987A2A #C8A037 #D5B767

Accessibility & contrast

On white

4.08
#987A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#987A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A2A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A2A#FFFFFF#000000##000000
##987A2A1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791F
Deuteranopia (green-blind)
#90812E
Tritanopia (blue-blind)
#A56F6A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987a2a;
/* rgb */ color: rgb(152, 122, 42);
/* oklch */ color: oklch(59.3% 0.103 87.8);
Tailwind
colors: {
  custom: {
    50: '#baa068',
    500: '#987a2a',
    950: '#000000',
  },
}
SCSS
$custom: #987a2a;
$custom-light: #baa068;
$custom-dark: #000000;
JSON
{
  "hex": "#987a2a",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 43.636,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59327,
    "c": 0.10323,
    "h": 87.8
  },
  "luminance": 0.20762
}

Semantic roles & 50–950 ramp

primary
#987A2A
secondary
#627BBB
accent
#71E048
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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