#987342#987342

#987342 is a mid, moderate orange. Relative luminance 0.193; OKLCH L 58.1% C 0.081 H 72.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#987342
RGBrgb(152, 115, 66)
HSLhsl(34, 39%, 43%)
HSVhsv(34, 57%, 60%)
CMYKcmyk(0%, 24.3%, 56.6%, 40.4%)
CIE-LABlab(51.07, 8.61, 32.48)
CIE-LCHlch(51.07, 33.60, 75.16°)
OKLaboklab(58.14% 0.0238 0.0772)
OKLCHoklch(58.14% 0.081 72.9)
XYZxyz(20.0640, 19.3315, 7.8278)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987342 #426798
analogous
#984842 #987342 #929842
triadic
#987342 #429873 #734298
tetradic
#987342 #429848 #426798 #984292
square
#987342 #429848 #426798 #984292
split-complementary
#987342 #429298 #484298
monochromatic
#43321D #6D532F #987342 #B9925E #CCAF89

Accessibility & contrast

On white

4.32
#987342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#987342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987342
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987342#FFFFFF#000000##000000
##9873421.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80743E
Deuteranopia (green-blind)
#897D43
Tritanopia (blue-blind)
#A46A67
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #987342;
/* rgb */ color: rgb(152, 115, 66);
/* oklch */ color: oklch(58.1% 0.081 72.9);
Tailwind
colors: {
  custom: {
    50: '#b99b77',
    500: '#987342',
    950: '#000000',
  },
}
SCSS
$custom: #987342;
$custom-light: #b99b77;
$custom-dark: #000000;
JSON
{
  "hex": "#987342",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 34.186,
    "s": 39.45,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5814,
    "c": 0.08074,
    "h": 72.9
  },
  "luminance": 0.1933
}

Semantic roles & 50–950 ramp

primary
#987342
secondary
#7F97B7
accent
#8CCF58
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E09
muted
#817E7B

Preview Lab

Preview with #987342

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

Preview Lab → · Contrast checker → · Palette generator →

#987342 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva