#987A2B#987A2B

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

Color values

HEX#987A2B
RGBrgb(152, 122, 43)
HSLhsl(43, 56%, 38%)
HSVhsv(43, 72%, 60%)
CMYKcmyk(0%, 19.7%, 71.7%, 40.4%)
CIE-LABlab(52.70, 2.99, 45.78)
CIE-LCHlch(52.70, 45.87, 86.26°)
OKLaboklab(59.34% 0.0043 0.1024)
OKLCHoklch(59.34% 0.103 87.6)
XYZxyz(20.3456, 20.7702, 5.2225)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A2B #2B4998
analogous
#98432B #987A2B #7F982B
triadic
#987A2B #2B987A #7A2B98
tetradic
#987A2B #2B9843 #2B4998 #982B7F
square
#987A2B #2B9843 #2B4998 #982B7F
split-complementary
#987A2B #2B7F98 #432B98
monochromatic
#392D10 #68541E #987A2B #C7A039 #D5B769

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987A2B#FFFFFF#000000##000000
##987A2B1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #987a2b;
/* rgb */ color: rgb(152, 122, 43);
/* oklch */ color: oklch(59.3% 0.103 87.6);
Tailwind
colors: {
  custom: {
    50: '#baa069',
    500: '#987a2b',
    950: '#000000',
  },
}
SCSS
$custom: #987a2b;
$custom-light: #baa069;
$custom-dark: #000000;
JSON
{
  "hex": "#987a2b",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 43.486,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59336,
    "c": 0.10252,
    "h": 87.6
  },
  "luminance": 0.20769
}

Semantic roles & 50–950 ramp

primary
#987A2B
secondary
#647CBB
accent
#72DF49
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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