#987138#987138

#987138 is a mid, moderate orange. Relative luminance 0.188; OKLCH L 57.6% C 0.089 H 74.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#987138
RGBrgb(152, 113, 56)
HSLhsl(36, 46%, 41%)
HSVhsv(36, 63%, 60%)
CMYKcmyk(0%, 25.7%, 63.2%, 40.4%)
CIE-LABlab(50.42, 8.95, 37.03)
CIE-LCHlch(50.42, 38.09, 76.41°)
OKLaboklab(57.59% 0.0234 0.0859)
OKLCHoklch(57.59% 0.089 74.7)
XYZxyz(19.5690, 18.7726, 6.3334)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987138 #385F98
analogous
#984138 #987138 #8F9838
triadic
#987138 #389871 #713898
tetradic
#987138 #389841 #385F98 #98388F
square
#987138 #389841 #385F98 #98388F
split-complementary
#987138 #388F98 #413898
monochromatic
#3F2F17 #6B5028 #987138 #BE914F #CFAD7C

Accessibility & contrast

On white

4.42
#987138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#987138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987138
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987138#FFFFFF#000000##000000
##9871381.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7232
Deuteranopia (green-blind)
#897C3A
Tritanopia (blue-blind)
#A56764
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #987138;
/* rgb */ color: rgb(152, 113, 56);
/* oklch */ color: oklch(57.6% 0.089 74.7);
Tailwind
colors: {
  custom: {
    50: '#b99970',
    500: '#987138',
    950: '#000000',
  },
}
SCSS
$custom: #987138;
$custom-light: #b99970;
$custom-dark: #000000;
JSON
{
  "hex": "#987138",
  "rgb": {
    "r": 152,
    "g": 113,
    "b": 56
  },
  "hsl": {
    "h": 35.625,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.08904,
    "h": 74.7
  },
  "luminance": 0.18771
}

Semantic roles & 50–950 ramp

primary
#987138
secondary
#7490B8
accent
#88D652
background
#FBF9F6
surface
#F7F2EC
border
#D0CCC7
text
#120E08
muted
#817E7B

Preview Lab

Preview with #987138

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

Preview Lab → · Contrast checker → · Palette generator →

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