#987F41#987F41

#987F41 is a mid, moderate orange. Relative luminance 0.222; OKLCH L 60.7% C 0.087 H 87.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#987F41
RGBrgb(152, 127, 65)
HSLhsl(43, 40%, 43%)
HSVhsv(43, 57%, 60%)
CMYKcmyk(0%, 16.4%, 57.2%, 40.4%)
CIE-LABlab(54.28, 1.70, 36.85)
CIE-LCHlch(54.28, 36.89, 87.36°)
OKLaboklab(60.65% 0.0034 0.0866)
OKLCHoklch(60.65% 0.087 87.7)
XYZxyz(21.4933, 22.2369, 8.1601)
Luminance0.2224 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987F41 #415A98
analogous
#985441 #987F41 #859841
triadic
#987F41 #41987F #7F4198
tetradic
#987F41 #419854 #415A98 #984185
square
#987F41 #419854 #415A98 #984185
split-complementary
#987F41 #418598 #544198
monochromatic
#42371C #6D5B2F #987F41 #BA9F5D #CCB888

Accessibility & contrast

On white

3.86
#987F41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#987F41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987F41
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987F41#FFFFFF#000000##000000
##987F411.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3B
Deuteranopia (green-blind)
#928543
Tritanopia (blue-blind)
#A37671
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #987f41;
/* rgb */ color: rgb(152, 127, 65);
/* oklch */ color: oklch(60.7% 0.087 87.7);
Tailwind
colors: {
  custom: {
    50: '#b9a377',
    500: '#987f41',
    950: '#000000',
  },
}
SCSS
$custom: #987f41;
$custom-light: #b9a377;
$custom-dark: #000000;
JSON
{
  "hex": "#987f41",
  "rgb": {
    "r": 152,
    "g": 127,
    "b": 65
  },
  "hsl": {
    "h": 42.759,
    "s": 40.092,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60652,
    "c": 0.08668,
    "h": 87.7
  },
  "luminance": 0.22236
}

Semantic roles & 50–950 ramp

primary
#987F41
secondary
#7E8EB7
accent
#7AD058
background
#FBFAF7
surface
#F6F3ED
border
#D0CDC8
text
#120F09
muted
#817F7B

Preview Lab

Preview with #987F41

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

Preview Lab → · Contrast checker → · Palette generator →

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