#987221#987221

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

Color values

HEX#987221
RGBrgb(152, 114, 33)
HSLhsl(41, 64%, 36%)
HSVhsv(41, 78%, 60%)
CMYKcmyk(0%, 25%, 78.3%, 40.4%)
CIE-LABlab(50.48, 7.05, 47.81)
CIE-LCHlch(50.48, 48.33, 81.61°)
OKLaboklab(57.57% 0.0147 0.1047)
OKLCHoklch(57.57% 0.106 82)
XYZxyz(19.2420, 18.8213, 4.0580)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987221 #214798
analogous
#983721 #987221 #839821
triadic
#987221 #219872 #722198
tetradic
#987221 #219837 #214798 #982183
square
#987221 #219837 #214798 #982183
split-complementary
#987221 #218398 #372198
monochromatic
#33270B #664C16 #987221 #CA982C #DBB159

Accessibility & contrast

On white

4.41
#987221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#987221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987221
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987221#FFFFFF#000000##000000
##9872211.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#827213
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#A56762
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #987221;
/* rgb */ color: rgb(152, 114, 33);
/* oklch */ color: oklch(57.6% 0.106 82.0);
Tailwind
colors: {
  custom: {
    50: '#bb9a63',
    500: '#987221',
    950: '#000000',
  },
}
SCSS
$custom: #987221;
$custom-light: #bb9a63;
$custom-dark: #000000;
JSON
{
  "hex": "#987221",
  "rgb": {
    "r": 152,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 40.84,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57568,
    "c": 0.1057,
    "h": 82
  },
  "luminance": 0.1882
}

Semantic roles & 50–950 ramp

primary
#987221
secondary
#5677BF
accent
#76E740
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #987221

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

Preview Lab → · Contrast checker → · Palette generator →

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