#987822#987822

#987822 is a mid, moderate orange. Relative luminance 0.202; OKLCH L 58.8% C 0.107 H 87.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#987822
RGBrgb(152, 120, 34)
HSLhsl(44, 63%, 36%)
HSVhsv(44, 78%, 60%)
CMYKcmyk(0%, 21.1%, 77.6%, 40.4%)
CIE-LABlab(52.09, 3.68, 48.94)
CIE-LCHlch(52.09, 49.08, 85.70°)
OKLaboklab(58.84% 0.0051 0.1073)
OKLCHoklch(58.84% 0.107 87.3)
XYZxyz(19.9553, 20.2252, 4.3659)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987822 #224298
analogous
#983D22 #987822 #7D9822
triadic
#987822 #229878 #782298
tetradic
#987822 #22983D #224298 #98227D
square
#987822 #22983D #224298 #98227D
split-complementary
#987822 #227D98 #3D2298
monochromatic
#34290C #665117 #987822 #CA9F2D #DAB75A

Accessibility & contrast

On white

4.16
#987822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#987822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987822
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987822#FFFFFF#000000##000000
##9878221.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877713
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#A56D67
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #987822;
/* rgb */ color: rgb(152, 120, 34);
/* oklch */ color: oklch(58.8% 0.107 87.3);
Tailwind
colors: {
  custom: {
    50: '#ba9e64',
    500: '#987822',
    950: '#000000',
  },
}
SCSS
$custom: #987822;
$custom-light: #ba9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#987822",
  "rgb": {
    "r": 152,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 43.729,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58837,
    "c": 0.10743,
    "h": 87.3
  },
  "luminance": 0.20224
}

Semantic roles & 50–950 ramp

primary
#987822
secondary
#5773BE
accent
#6EE641
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987822

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

Preview Lab → · Contrast checker → · Palette generator →

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