#987331#987331

#987331 is a mid, moderate orange. Relative luminance 0.192; OKLCH L 57.9% C 0.095 H 79.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#987331
RGBrgb(152, 115, 49)
HSLhsl(38, 51%, 39%)
HSVhsv(38, 68%, 60%)
CMYKcmyk(0%, 24.3%, 67.8%, 40.4%)
CIE-LABlab(50.87, 7.33, 41.06)
CIE-LCHlch(50.87, 41.71, 79.88°)
OKLaboklab(57.92% 0.0177 0.0935)
OKLCHoklch(57.92% 0.095 79.3)
XYZxyz(19.6352, 19.1600, 5.5692)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987331 #315698
analogous
#984031 #987331 #8A9831
triadic
#987331 #319873 #733198
tetradic
#987331 #319840 #315698 #98318A
square
#987331 #319840 #315698 #98318A
split-complementary
#987331 #318A98 #403198
monochromatic
#3B2D13 #6A5022 #987331 #C39544 #D2AF72

Accessibility & contrast

On white

4.35
#987331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#987331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987331
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987331#FFFFFF#000000##000000
##9873311.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82742A
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#A56865
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #987331;
/* rgb */ color: rgb(152, 115, 49);
/* oklch */ color: oklch(57.9% 0.095 79.3);
Tailwind
colors: {
  custom: {
    50: '#ba9b6c',
    500: '#987331',
    950: '#000000',
  },
}
SCSS
$custom: #987331;
$custom-light: #ba9b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#987331",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 38.447,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57921,
    "c": 0.09514,
    "h": 79.3
  },
  "luminance": 0.19159
}

Semantic roles & 50–950 ramp

primary
#987331
secondary
#6B87B9
accent
#80DB4D
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A

Preview Lab

Preview with #987331

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

Preview Lab → · Contrast checker → · Palette generator →

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