#987E33#987E33

#987E33 is a mid, moderate orange. Relative luminance 0.218; OKLCH L 60.3% C 0.099 H 89.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#987E33
RGBrgb(152, 126, 51)
HSLhsl(45, 50%, 40%)
HSVhsv(45, 66%, 60%)
CMYKcmyk(0%, 17.1%, 66.4%, 40.4%)
CIE-LABlab(53.85, 1.22, 43.33)
CIE-LCHlch(53.85, 43.35, 88.39°)
OKLaboklab(60.27% 0.0002 0.0987)
OKLCHoklch(60.27% 0.099 89.9)
XYZxyz(21.0084, 21.8373, 6.2398)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987E33 #334D98
analogous
#984B33 #987E33 #809833
triadic
#987E33 #33987E #7E3398
tetradic
#987E33 #33984B #334D98 #983380
square
#987E33 #33984B #334D98 #983380
split-complementary
#987E33 #338098 #4B3398
monochromatic
#3C3214 #6A5824 #987E33 #C1A247 #D1B975

Accessibility & contrast

On white

3.91
#987E33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#987E33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987E33
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987E33#FFFFFF#000000##000000
##987E331.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C2A
Deuteranopia (green-blind)
#928436
Tritanopia (blue-blind)
#A4746E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #987e33;
/* rgb */ color: rgb(152, 126, 51);
/* oklch */ color: oklch(60.3% 0.099 89.9);
Tailwind
colors: {
  custom: {
    50: '#b9a36e',
    500: '#987e33',
    950: '#000000',
  },
}
SCSS
$custom: #987e33;
$custom-light: #b9a36e;
$custom-dark: #000000;
JSON
{
  "hex": "#987e33",
  "rgb": {
    "r": 152,
    "g": 126,
    "b": 51
  },
  "hsl": {
    "h": 44.554,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.60269,
    "c": 0.09865,
    "h": 89.9
  },
  "luminance": 0.21836
}

Semantic roles & 50–950 ramp

primary
#987E33
secondary
#6E81B9
accent
#72D94F
background
#FBF9F6
surface
#F7F2EC
border
#D0CCC7
text
#120F07
muted
#817E7A

Preview Lab

Preview with #987E33

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

Preview Lab → · Contrast checker → · Palette generator →

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