#987B2D#987B2D

#987B2D is a mid, moderate orange. Relative luminance 0.210; OKLCH L 59.6% C 0.102 H 88.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#987B2D
RGBrgb(152, 123, 45)
HSLhsl(44, 54%, 39%)
HSVhsv(44, 70%, 60%)
CMYKcmyk(0%, 19.1%, 70.4%, 40.4%)
CIE-LABlab(52.98, 2.54, 45.18)
CIE-LCHlch(52.98, 45.25, 86.78°)
OKLaboklab(59.57% 0.0032 0.1015)
OKLCHoklch(59.57% 0.102 88.2)
XYZxyz(20.5066, 21.0321, 5.4616)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987B2D #2D4A98
analogous
#98452D #987B2D #7F982D
triadic
#987B2D #2D987B #7B2D98
tetradic
#987B2D #2D9845 #2D4A98 #982D7F
square
#987B2D #2D9845 #2D4A98 #982D7F
split-complementary
#987B2D #2D7F98 #452D98
monochromatic
#3A2F11 #69551F #987B2D #C5A03D #D3B76C

Accessibility & contrast

On white

4.03
#987B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#987B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987B2D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987B2D#FFFFFF#000000##000000
##987B2D1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A23
Deuteranopia (green-blind)
#908231
Tritanopia (blue-blind)
#A5716B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987b2d;
/* rgb */ color: rgb(152, 123, 45);
/* oklch */ color: oklch(59.6% 0.102 88.2);
Tailwind
colors: {
  custom: {
    50: '#baa06a',
    500: '#987b2d',
    950: '#000000',
  },
}
SCSS
$custom: #987b2d;
$custom-light: #baa06a;
$custom-dark: #000000;
JSON
{
  "hex": "#987b2d",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 43.738,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59567,
    "c": 0.10159,
    "h": 88.2
  },
  "luminance": 0.21031
}

Semantic roles & 50–950 ramp

primary
#987B2D
secondary
#667DBA
accent
#72DE4A
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A

Preview Lab

Preview with #987B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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