#987222#987222

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

Color values

HEX#987222
RGBrgb(152, 114, 34)
HSLhsl(41, 63%, 36%)
HSVhsv(41, 78%, 60%)
CMYKcmyk(0%, 25%, 77.6%, 40.4%)
CIE-LABlab(50.48, 7.09, 47.41)
CIE-LCHlch(50.48, 47.94, 81.49°)
OKLaboklab(57.58% 0.015 0.104)
OKLCHoklch(57.58% 0.105 81.8)
XYZxyz(19.2562, 18.8270, 4.1328)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987222 #224898
analogous
#983722 #987222 #839822
triadic
#987222 #229872 #722298
tetradic
#987222 #229837 #224898 #982283
square
#987222 #229837 #224898 #982283
split-complementary
#987222 #228398 #372298
monochromatic
#34270C #664C17 #987222 #CA982D #DAB15A

Accessibility & contrast

On white

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

On black

4.77
#987222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987222
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987222#FFFFFF#000000##000000
##9872221.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #987222;
/* rgb */ color: rgb(152, 114, 34);
/* oklch */ color: oklch(57.6% 0.105 81.8);
Tailwind
colors: {
  custom: {
    50: '#bb9a63',
    500: '#987222',
    950: '#000000',
  },
}
SCSS
$custom: #987222;
$custom-light: #bb9a63;
$custom-dark: #000000;
JSON
{
  "hex": "#987222",
  "rgb": {
    "r": 152,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 40.678,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.10511,
    "h": 81.8
  },
  "luminance": 0.18826
}

Semantic roles & 50–950 ramp

primary
#987222
secondary
#5779BE
accent
#77E641
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987222

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

Preview Lab → · Contrast checker → · Palette generator →

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