#987A34#987A34

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

Color values

HEX#987A34
RGBrgb(152, 122, 52)
HSLhsl(42, 49%, 40%)
HSVhsv(42, 66%, 60%)
CMYKcmyk(0%, 19.7%, 65.8%, 40.4%)
CIE-LABlab(52.78, 3.54, 41.68)
CIE-LCHlch(52.78, 41.83, 85.15°)
OKLaboklab(59.43% 0.007 0.0953)
OKLCHoklch(59.43% 0.096 85.8)
XYZxyz(20.5294, 20.8437, 6.1901)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A34 #345298
analogous
#984834 #987A34 #849834
triadic
#987A34 #34987A #7A3498
tetradic
#987A34 #349848 #345298 #983484
square
#987A34 #349848 #345298 #983484
split-complementary
#987A34 #348498 #483498
monochromatic
#3D3115 #6A5524 #987A34 #C19D49 #D0B576

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987A34#FFFFFF#000000##000000
##987A341.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)
#88792C
Deuteranopia (green-blind)
#8F8137
Tritanopia (blue-blind)
#A4706B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987a34;
/* rgb */ color: rgb(152, 122, 52);
/* oklch */ color: oklch(59.4% 0.096 85.8);
Tailwind
colors: {
  custom: {
    50: '#b9a06e',
    500: '#987a34',
    950: '#000000',
  },
}
SCSS
$custom: #987a34;
$custom-light: #b9a06e;
$custom-dark: #000000;
JSON
{
  "hex": "#987a34",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 52
  },
  "hsl": {
    "h": 42,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.59425,
    "c": 0.09556,
    "h": 85.8
  },
  "luminance": 0.20842
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #987A34

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

Preview Lab → · Contrast checker → · Palette generator →

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