#987C38#987C38

#987C38 is a mid, moderate orange. Relative luminance 0.214; OKLCH L 59.9% C 0.093 H 86.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#987C38
RGBrgb(152, 124, 56)
HSLhsl(43, 46%, 41%)
HSVhsv(43, 63%, 60%)
CMYKcmyk(0%, 18.4%, 63.2%, 40.4%)
CIE-LABlab(53.36, 2.69, 40.36)
CIE-LCHlch(53.36, 40.45, 86.19°)
OKLaboklab(59.9% 0.0051 0.0931)
OKLCHoklch(59.9% 0.093 86.9)
XYZxyz(20.8714, 21.3775, 6.7675)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987C38 #385498
analogous
#984C38 #987C38 #849838
triadic
#987C38 #38987C #7C3898
tetradic
#987C38 #38984C #385498 #983884
square
#987C38 #38984C #385498 #983884
split-complementary
#987C38 #388498 #4C3898
monochromatic
#3F3317 #6B5828 #987C38 #BE9E4F #CFB67C

Accessibility & contrast

On white

3.98
#987C38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#987C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987C38
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987C38#FFFFFF#000000##000000
##987C381.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B31
Deuteranopia (green-blind)
#90833B
Tritanopia (blue-blind)
#A4726D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #987c38;
/* rgb */ color: rgb(152, 124, 56);
/* oklch */ color: oklch(59.9% 0.093 86.9);
Tailwind
colors: {
  custom: {
    50: '#b9a171',
    500: '#987c38',
    950: '#000000',
  },
}
SCSS
$custom: #987c38;
$custom-light: #b9a171;
$custom-dark: #000000;
JSON
{
  "hex": "#987c38",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 56
  },
  "hsl": {
    "h": 42.5,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.59896,
    "c": 0.09322,
    "h": 86.9
  },
  "luminance": 0.21376
}

Semantic roles & 50–950 ramp

primary
#987C38
secondary
#7488B8
accent
#78D652
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#120E08
muted
#817E7B

Preview Lab

Preview with #987C38

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

Preview Lab → · Contrast checker → · Palette generator →

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