#987E34#987E34

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

Color values

HEX#987E34
RGBrgb(152, 126, 52)
HSLhsl(44, 49%, 40%)
HSVhsv(44, 66%, 60%)
CMYKcmyk(0%, 17.1%, 65.8%, 40.4%)
CIE-LABlab(53.86, 1.28, 42.87)
CIE-LCHlch(53.86, 42.88, 88.29°)
OKLaboklab(60.28% 0.0005 0.0978)
OKLCHoklch(60.28% 0.098 89.7)
XYZxyz(21.0306, 21.8462, 6.3572)
Luminance0.2185 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987E34 #344E98
analogous
#984C34 #987E34 #809834
triadic
#987E34 #34987E #7E3498
tetradic
#987E34 #34984C #344E98 #983480
square
#987E34 #34984C #344E98 #983480
split-complementary
#987E34 #348098 #4C3498
monochromatic
#3D3215 #6A5824 #987E34 #C1A149 #D0B976

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987E34#FFFFFF#000000##000000
##987E341.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)
#8C7D2C
Deuteranopia (green-blind)
#928437
Tritanopia (blue-blind)
#A4746E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #987e34;
/* rgb */ color: rgb(152, 126, 52);
/* oklch */ color: oklch(60.3% 0.098 89.7);
Tailwind
colors: {
  custom: {
    50: '#b9a36f',
    500: '#987e34',
    950: '#000000',
  },
}
SCSS
$custom: #987e34;
$custom-light: #b9a36f;
$custom-dark: #000000;
JSON
{
  "hex": "#987e34",
  "rgb": {
    "r": 152,
    "g": 126,
    "b": 52
  },
  "hsl": {
    "h": 44.4,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.6028,
    "c": 0.09782,
    "h": 89.7
  },
  "luminance": 0.21845
}

Semantic roles & 50–950 ramp

primary
#987E34
secondary
#6F82B9
accent
#73D94F
background
#FBFAF6
surface
#F7F3EC
border
#D0CDC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #987E34

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

Preview Lab → · Contrast checker → · Palette generator →

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