#987521#987521

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

Color values

HEX#987521
RGBrgb(152, 117, 33)
HSLhsl(42, 64%, 36%)
HSVhsv(42, 78%, 60%)
CMYKcmyk(0%, 23%, 78.3%, 40.4%)
CIE-LABlab(51.28, 5.34, 48.57)
CIE-LCHlch(51.28, 48.86, 83.73°)
OKLaboklab(58.2% 0.0098 0.1063)
OKLCHoklch(58.2% 0.107 84.7)
XYZxyz(19.5859, 19.5092, 4.1726)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987521 #214498
analogous
#983A21 #987521 #809821
triadic
#987521 #219875 #752198
tetradic
#987521 #21983A #214498 #982180
square
#987521 #21983A #214498 #982180
split-complementary
#987521 #218098 #3A2198
monochromatic
#33280B #664E16 #987521 #CA9C2C #DBB559

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987521#FFFFFF#000000##000000
##9875211.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)
#847512
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#A56A65
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #987521;
/* rgb */ color: rgb(152, 117, 33);
/* oklch */ color: oklch(58.2% 0.107 84.7);
Tailwind
colors: {
  custom: {
    50: '#bb9c63',
    500: '#987521',
    950: '#000000',
  },
}
SCSS
$custom: #987521;
$custom-light: #bb9c63;
$custom-dark: #000000;
JSON
{
  "hex": "#987521",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 33
  },
  "hsl": {
    "h": 42.353,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.10673,
    "h": 84.7
  },
  "luminance": 0.19508
}

Semantic roles & 50–950 ramp

primary
#987521
secondary
#5675BF
accent
#72E740
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987521

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

Preview Lab → · Contrast checker → · Palette generator →

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