#987D2D#987D2D

#987D2D is a mid, moderate orange. Relative luminance 0.215; OKLCH L 60.0% C 0.103 H 90.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#987D2D
RGBrgb(152, 125, 45)
HSLhsl(45, 54%, 39%)
HSVhsv(45, 70%, 60%)
CMYKcmyk(0%, 17.8%, 70.4%, 40.4%)
CIE-LABlab(53.53, 1.41, 45.74)
CIE-LCHlch(53.53, 45.76, 88.23°)
OKLaboklab(60% 0 0.1027)
OKLCHoklch(60% 0.103 90)
XYZxyz(20.7573, 21.5333, 5.5452)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987D2D #2D4898
analogous
#98472D #987D2D #7D982D
triadic
#987D2D #2D987D #7D2D98
tetradic
#987D2D #2D9847 #2D4898 #982D7D
square
#987D2D #2D9847 #2D4898 #982D7D
split-complementary
#987D2D #2D7D98 #472D98
monochromatic
#3A2F11 #69561F #987D2D #C5A33D #D3B96C

Accessibility & contrast

On white

3.96
#987D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#987D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987D2D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987D2D#FFFFFF#000000##000000
##987D2D1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B23
Deuteranopia (green-blind)
#928331
Tritanopia (blue-blind)
#A5736C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #987d2d;
/* rgb */ color: rgb(152, 125, 45);
/* oklch */ color: oklch(60.0% 0.103 90.0);
Tailwind
colors: {
  custom: {
    50: '#baa26a',
    500: '#987d2d',
    950: '#000000',
  },
}
SCSS
$custom: #987d2d;
$custom-light: #baa26a;
$custom-dark: #000000;
JSON
{
  "hex": "#987d2d",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 44.86,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59996,
    "c": 0.10273,
    "h": 90
  },
  "luminance": 0.21532
}

Semantic roles & 50–950 ramp

primary
#987D2D
secondary
#667CBA
accent
#6FDE4A
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A

Preview Lab

Preview with #987D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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