#987A2D#987A2D

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

Color values

HEX#987A2D
RGBrgb(152, 122, 45)
HSLhsl(43, 54%, 39%)
HSVhsv(43, 70%, 60%)
CMYKcmyk(0%, 19.7%, 70.4%, 40.4%)
CIE-LABlab(52.71, 3.10, 44.90)
CIE-LCHlch(52.71, 45.01, 86.05°)
OKLaboklab(59.35% 0.0049 0.1009)
OKLCHoklch(59.35% 0.101 87.2)
XYZxyz(20.3832, 20.7852, 5.4205)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A2D #2D4B98
analogous
#98442D #987A2D #80982D
triadic
#987A2D #2D987A #7A2D98
tetradic
#987A2D #2D9844 #2D4B98 #982D80
square
#987A2D #2D9844 #2D4B98 #982D80
split-complementary
#987A2D #2D8098 #442D98
monochromatic
#3A2E11 #69541F #987A2D #C59F3D #D3B66C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987A2D#FFFFFF#000000##000000
##987A2D1.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)
#887923
Deuteranopia (green-blind)
#908130
Tritanopia (blue-blind)
#A56F6A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987a2d;
/* rgb */ color: rgb(152, 122, 45);
/* oklch */ color: oklch(59.4% 0.101 87.2);
Tailwind
colors: {
  custom: {
    50: '#baa06a',
    500: '#987a2d',
    950: '#000000',
  },
}
SCSS
$custom: #987a2d;
$custom-light: #baa06a;
$custom-dark: #000000;
JSON
{
  "hex": "#987a2d",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 43.178,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59354,
    "c": 0.10106,
    "h": 87.2
  },
  "luminance": 0.20784
}

Semantic roles & 50–950 ramp

primary
#987A2D
secondary
#667EBA
accent
#73DE4A
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A

Preview Lab

Preview with #987A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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