#987151#987151

#987151 is a mid, moderate orange. Relative luminance 0.191; OKLCH L 58.0% C 0.067 H 60.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#987151
RGBrgb(152, 113, 81)
HSLhsl(27, 30%, 46%)
HSVhsv(27, 47%, 60%)
CMYKcmyk(0%, 25.7%, 46.7%, 40.4%)
CIE-LABlab(50.78, 11.22, 23.73)
CIE-LCHlch(50.78, 26.25, 64.70°)
OKLaboklab(57.99% 0.0333 0.0584)
OKLCHoklch(57.99% 0.067 60.3)
XYZxyz(20.3401, 19.0810, 10.3947)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987151 #517898
analogous
#985154 #987151 #989451
triadic
#987151 #519871 #715198
tetradic
#987151 #549851 #517898 #945198
square
#987151 #549851 #517898 #945198
split-complementary
#987151 #519894 #515498
monochromatic
#483626 #70533C #987151 #B49072 #C9AF9A

Accessibility & contrast

On white

4.36
#987151 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#987151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987151
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987151#FFFFFF#000000##000000
##9871511.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D744F
Deuteranopia (green-blind)
#867C51
Tritanopia (blue-blind)
#A36969
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #987151;
/* rgb */ color: rgb(152, 113, 81);
/* oklch */ color: oklch(58.0% 0.067 60.3);
Tailwind
colors: {
  custom: {
    50: '#b89982',
    500: '#987151',
    950: '#000000',
  },
}
SCSS
$custom: #987151;
$custom-light: #b89982;
$custom-dark: #000000;
JSON
{
  "hex": "#987151",
  "rgb": {
    "r": 152,
    "g": 113,
    "b": 81
  },
  "hsl": {
    "h": 27.042,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.57989,
    "c": 0.06727,
    "h": 60.3
  },
  "luminance": 0.1908
}

Semantic roles & 50–950 ramp

primary
#987151
secondary
#8FA4B6
accent
#99C761
background
#FBF9F7
surface
#F6F2EE
border
#D0CCC9
text
#120E0A
muted
#817E7C

Preview Lab

Preview with #987151

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

Preview Lab → · Contrast checker → · Palette generator →

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