#987522#987522

#987522 is a mid, moderate orange. Relative luminance 0.195; OKLCH L 58.2% C 0.106 H 84.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#987522
RGBrgb(152, 117, 34)
HSLhsl(42, 63%, 36%)
HSVhsv(42, 78%, 60%)
CMYKcmyk(0%, 23%, 77.6%, 40.4%)
CIE-LABlab(51.28, 5.38, 48.18)
CIE-LCHlch(51.28, 48.48, 83.63°)
OKLaboklab(58.2% 0.01 0.1057)
OKLCHoklch(58.2% 0.106 84.6)
XYZxyz(19.6002, 19.5149, 4.2475)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987522 #224598
analogous
#983A22 #987522 #809822
triadic
#987522 #229875 #752298
tetradic
#987522 #22983A #224598 #982280
square
#987522 #22983A #224598 #982280
split-complementary
#987522 #228098 #3A2298
monochromatic
#34280C #664F17 #987522 #CA9B2D #DAB45A

Accessibility & contrast

On white

4.28
#987522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#987522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987522
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987522#FFFFFF#000000##000000
##9875221.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#847514
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#A56A65
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #987522;
/* rgb */ color: rgb(152, 117, 34);
/* oklch */ color: oklch(58.2% 0.106 84.6);
Tailwind
colors: {
  custom: {
    50: '#ba9c63',
    500: '#987522',
    950: '#000000',
  },
}
SCSS
$custom: #987522;
$custom-light: #ba9c63;
$custom-dark: #000000;
JSON
{
  "hex": "#987522",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 42.203,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58203,
    "c": 0.10615,
    "h": 84.6
  },
  "luminance": 0.19513
}

Semantic roles & 50–950 ramp

primary
#987522
secondary
#5776BE
accent
#72E641
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987522

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

Preview Lab → · Contrast checker → · Palette generator →

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