#987A33#987A33

#987A33 is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.4% C 0.096 H 86.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#987A33
RGBrgb(152, 122, 51)
HSLhsl(42, 50%, 40%)
HSVhsv(42, 66%, 60%)
CMYKcmyk(0%, 19.7%, 66.4%, 40.4%)
CIE-LABlab(52.77, 3.47, 42.15)
CIE-LCHlch(52.77, 42.30, 85.29°)
OKLaboklab(59.41% 0.0067 0.0961)
OKLCHoklch(59.41% 0.096 86)
XYZxyz(20.5071, 20.8348, 6.0727)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A33 #335198
analogous
#984733 #987A33 #849833
triadic
#987A33 #33987A #7A3398
tetradic
#987A33 #339847 #335198 #983384
square
#987A33 #339847 #335198 #983384
split-complementary
#987A33 #338498 #473398
monochromatic
#3C3014 #6A5524 #987A33 #C19D47 #D1B575

Accessibility & contrast

On white

4.06
#987A33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#987A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A33
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A33#FFFFFF#000000##000000
##987A331.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88792B
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#A4706B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987a33;
/* rgb */ color: rgb(152, 122, 51);
/* oklch */ color: oklch(59.4% 0.096 86.0);
Tailwind
colors: {
  custom: {
    50: '#b9a06e',
    500: '#987a33',
    950: '#000000',
  },
}
SCSS
$custom: #987a33;
$custom-light: #b9a06e;
$custom-dark: #000000;
JSON
{
  "hex": "#987a33",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 51
  },
  "hsl": {
    "h": 42.178,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.59414,
    "c": 0.09637,
    "h": 86
  },
  "luminance": 0.20833
}

Semantic roles & 50–950 ramp

primary
#987A33
secondary
#6E84B9
accent
#78D94F
background
#FBF9F6
surface
#F7F2EC
border
#D0CCC7
text
#120E07
muted
#817E7A

Preview Lab

Preview with #987A33

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

Preview Lab → · Contrast checker → · Palette generator →

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