#987122#987122

#987122 is a mid, moderate orange. Relative luminance 0.186; OKLCH L 57.4% C 0.105 H 80.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#987122
RGBrgb(152, 113, 34)
HSLhsl(40, 63%, 36%)
HSVhsv(40, 78%, 60%)
CMYKcmyk(0%, 25.7%, 77.6%, 40.4%)
CIE-LABlab(50.22, 7.66, 47.16)
CIE-LCHlch(50.22, 47.78, 80.77°)
OKLaboklab(57.37% 0.0166 0.1035)
OKLCHoklch(57.37% 0.105 80.9)
XYZxyz(19.1440, 18.6026, 4.0954)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987122 #224998
analogous
#983622 #987122 #849822
triadic
#987122 #229871 #712298
tetradic
#987122 #229836 #224998 #982284
square
#987122 #229836 #224998 #982284
split-complementary
#987122 #228498 #362298
monochromatic
#34270C #664C17 #987122 #CA962D #DAB05A

Accessibility & contrast

On white

4.45
#987122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#987122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987122
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987122#FFFFFF#000000##000000
##9871221.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#A56561
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #987122;
/* rgb */ color: rgb(152, 113, 34);
/* oklch */ color: oklch(57.4% 0.105 80.9);
Tailwind
colors: {
  custom: {
    50: '#bb9963',
    500: '#987122',
    950: '#000000',
  },
}
SCSS
$custom: #987122;
$custom-light: #bb9963;
$custom-dark: #000000;
JSON
{
  "hex": "#987122",
  "rgb": {
    "r": 152,
    "g": 113,
    "b": 34
  },
  "hsl": {
    "h": 40.169,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57367,
    "c": 0.10483,
    "h": 80.9
  },
  "luminance": 0.18601
}

Semantic roles & 50–950 ramp

primary
#987122
secondary
#5779BE
accent
#78E641
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120D05
muted
#817E7A

Preview Lab

Preview with #987122

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

Preview Lab → · Contrast checker → · Palette generator →

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