#987240#987240

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

Color values

HEX#987240
RGBrgb(152, 114, 64)
HSLhsl(34, 41%, 42%)
HSVhsv(34, 58%, 60%)
CMYKcmyk(0%, 25%, 57.9%, 40.4%)
CIE-LABlab(50.78, 9.01, 33.21)
CIE-LCHlch(50.78, 34.41, 74.83°)
OKLaboklab(57.9% 0.0247 0.0786)
OKLCHoklch(57.9% 0.082 72.5)
XYZxyz(19.8927, 19.0815, 7.4849)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987240 #406698
analogous
#984640 #987240 #929840
triadic
#987240 #409872 #724098
tetradic
#987240 #409846 #406698 #984092
square
#987240 #409846 #406698 #984092
split-complementary
#987240 #409298 #464098
monochromatic
#42311C #6D522E #987240 #BA915B #CCAE86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987240#FFFFFF#000000##000000
##9872401.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)
#80743C
Deuteranopia (green-blind)
#897D41
Tritanopia (blue-blind)
#A46866
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #987240;
/* rgb */ color: rgb(152, 114, 64);
/* oklch */ color: oklch(57.9% 0.082 72.5);
Tailwind
colors: {
  custom: {
    50: '#b99a76',
    500: '#987240',
    950: '#000000',
  },
}
SCSS
$custom: #987240;
$custom-light: #b99a76;
$custom-dark: #000000;
JSON
{
  "hex": "#987240",
  "rgb": {
    "r": 152,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 34.091,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.57905,
    "c": 0.08235,
    "h": 72.5
  },
  "luminance": 0.1908
}

Semantic roles & 50–950 ramp

primary
#987240
secondary
#7D96B7
accent
#8CD157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E08
muted
#817E7B

Preview Lab

Preview with #987240

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

Preview Lab → · Contrast checker → · Palette generator →

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