#987131#987131

#987131 is a mid, moderate orange. Relative luminance 0.187; OKLCH L 57.5% C 0.095 H 77.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#987131
RGBrgb(152, 113, 49)
HSLhsl(37, 51%, 39%)
HSVhsv(37, 68%, 60%)
CMYKcmyk(0%, 25.7%, 67.8%, 40.4%)
CIE-LABlab(50.34, 8.47, 40.48)
CIE-LCHlch(50.34, 41.36, 78.18°)
OKLaboklab(57.51% 0.021 0.0923)
OKLCHoklch(57.51% 0.095 77.2)
XYZxyz(19.4096, 18.7088, 5.4940)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987131 #315898
analogous
#983E31 #987131 #8C9831
triadic
#987131 #319871 #713198
tetradic
#987131 #31983E #315898 #98318C
square
#987131 #31983E #315898 #98318C
split-complementary
#987131 #318C98 #3E3198
monochromatic
#3B2C13 #6A4F22 #987131 #C39344 #D2AD72

Accessibility & contrast

On white

4.43
#987131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#987131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987131
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987131#FFFFFF#000000##000000
##9871311.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#80722A
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#A56663
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #987131;
/* rgb */ color: rgb(152, 113, 49);
/* oklch */ color: oklch(57.5% 0.095 77.2);
Tailwind
colors: {
  custom: {
    50: '#ba996c',
    500: '#987131',
    950: '#000000',
  },
}
SCSS
$custom: #987131;
$custom-light: #ba996c;
$custom-dark: #000000;
JSON
{
  "hex": "#987131",
  "rgb": {
    "r": 152,
    "g": 113,
    "b": 49
  },
  "hsl": {
    "h": 37.282,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57506,
    "c": 0.09462,
    "h": 77.2
  },
  "luminance": 0.18707
}

Semantic roles & 50–950 ramp

primary
#987131
secondary
#6B89B9
accent
#83DB4D
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120D07
muted
#817E7A

Preview Lab

Preview with #987131

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

Preview Lab → · Contrast checker → · Palette generator →

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