#987D2F#987D2F

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

Color values

HEX#987D2F
RGBrgb(152, 125, 47)
HSLhsl(45, 53%, 39%)
HSVhsv(45, 69%, 60%)
CMYKcmyk(0%, 17.8%, 69.1%, 40.4%)
CIE-LABlab(53.55, 1.53, 44.86)
CIE-LCHlch(53.55, 44.88, 88.05°)
OKLaboklab(60.01% 0.0006 0.1012)
OKLCHoklch(60.01% 0.101 89.7)
XYZxyz(20.7967, 21.5491, 5.7528)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987D2F #2F4A98
analogous
#98482F #987D2F #7F982F
triadic
#987D2F #2F987D #7D2F98
tetradic
#987D2F #2F9848 #2F4A98 #982F7F
square
#987D2F #2F9848 #2F4A98 #982F7F
split-complementary
#987D2F #2F7F98 #482F98
monochromatic
#3B3012 #695721 #987D2F #C4A240 #D2B96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987D2F#FFFFFF#000000##000000
##987D2F1.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)
#8B7C25
Deuteranopia (green-blind)
#928333
Tritanopia (blue-blind)
#A4736D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #987d2f;
/* rgb */ color: rgb(152, 125, 47);
/* oklch */ color: oklch(60.0% 0.101 89.7);
Tailwind
colors: {
  custom: {
    50: '#baa26c',
    500: '#987d2f',
    950: '#000000',
  },
}
SCSS
$custom: #987d2f;
$custom-light: #baa26c;
$custom-dark: #000000;
JSON
{
  "hex": "#987d2f",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 44.571,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60014,
    "c": 0.10122,
    "h": 89.7
  },
  "luminance": 0.21548
}

Semantic roles & 50–950 ramp

primary
#987D2F
secondary
#697EBA
accent
#71DC4C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A

Preview Lab

Preview with #987D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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