#987E40#987E40

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

Color values

HEX#987E40
RGBrgb(152, 126, 64)
HSLhsl(42, 41%, 42%)
HSVhsv(42, 58%, 60%)
CMYKcmyk(0%, 17.1%, 57.9%, 40.4%)
CIE-LABlab(53.99, 2.18, 37.03)
CIE-LCHlch(53.99, 37.09, 86.63°)
OKLaboklab(60.42% 0.0047 0.0869)
OKLCHoklch(60.42% 0.087 86.9)
XYZxyz(21.3361, 21.9684, 7.9660)
Luminance0.2197 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987E40 #405A98
analogous
#985240 #987E40 #869840
triadic
#987E40 #40987E #7E4098
tetradic
#987E40 #409852 #405A98 #984086
square
#987E40 #409852 #405A98 #984086
split-complementary
#987E40 #408698 #524098
monochromatic
#42371C #6D5A2E #987E40 #BA9E5B #CCB886

Accessibility & contrast

On white

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

On black

5.39
#987E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987E40
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987E40#FFFFFF#000000##000000
##987E401.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #987e40;
/* rgb */ color: rgb(152, 126, 64);
/* oklch */ color: oklch(60.4% 0.087 86.9);
Tailwind
colors: {
  custom: {
    50: '#b9a377',
    500: '#987e40',
    950: '#000000',
  },
}
SCSS
$custom: #987e40;
$custom-light: #b9a377;
$custom-dark: #000000;
JSON
{
  "hex": "#987e40",
  "rgb": {
    "r": 152,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 42.273,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.60424,
    "c": 0.08703,
    "h": 86.9
  },
  "luminance": 0.21967
}

Semantic roles & 50–950 ramp

primary
#987E40
secondary
#7D8EB7
accent
#7BD157
background
#FBFAF7
surface
#F6F3ED
border
#D0CDC8
text
#120F09
muted
#817F7B

Preview Lab

Preview with #987E40

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

Preview Lab → · Contrast checker → · Palette generator →

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