#987E41#987E41

#987E41 is a mid, moderate orange. Relative luminance 0.220; OKLCH L 60.4% C 0.086 H 86.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#987E41
RGBrgb(152, 126, 65)
HSLhsl(42, 40%, 43%)
HSVhsv(42, 57%, 60%)
CMYKcmyk(0%, 17.1%, 57.2%, 40.4%)
CIE-LABlab(54.01, 2.26, 36.53)
CIE-LCHlch(54.01, 36.60, 86.45°)
OKLaboklab(60.44% 0.0051 0.0859)
OKLCHoklch(60.44% 0.086 86.6)
XYZxyz(21.3648, 21.9799, 8.1172)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987E41 #415B98
analogous
#985341 #987E41 #869841
triadic
#987E41 #41987E #7E4198
tetradic
#987E41 #419853 #415B98 #984186
square
#987E41 #419853 #415B98 #984186
split-complementary
#987E41 #418698 #534198
monochromatic
#42371C #6D5A2F #987E41 #BA9E5D #CCB788

Accessibility & contrast

On white

3.89
#987E41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#987E41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987E41
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987E41#FFFFFF#000000##000000
##987E411.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D3B
Deuteranopia (green-blind)
#918443
Tritanopia (blue-blind)
#A47570
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #987e41;
/* rgb */ color: rgb(152, 126, 65);
/* oklch */ color: oklch(60.4% 0.086 86.6);
Tailwind
colors: {
  custom: {
    50: '#b9a377',
    500: '#987e41',
    950: '#000000',
  },
}
SCSS
$custom: #987e41;
$custom-light: #b9a377;
$custom-dark: #000000;
JSON
{
  "hex": "#987e41",
  "rgb": {
    "r": 152,
    "g": 126,
    "b": 65
  },
  "hsl": {
    "h": 42.069,
    "s": 40.092,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60438,
    "c": 0.08606,
    "h": 86.6
  },
  "luminance": 0.21979
}

Semantic roles & 50–950 ramp

primary
#987E41
secondary
#7E8FB7
accent
#7CD058
background
#FBFAF7
surface
#F6F3ED
border
#D0CDC8
text
#120F09
muted
#817F7B

Preview Lab

Preview with #987E41

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

Preview Lab → · Contrast checker → · Palette generator →

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