#987421#987421

#987421 is a mid, moderate orange. Relative luminance 0.193; OKLCH L 58.0% C 0.106 H 83.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#987421
RGBrgb(152, 116, 33)
HSLhsl(42, 64%, 36%)
HSVhsv(42, 78%, 60%)
CMYKcmyk(0%, 23.7%, 78.3%, 40.4%)
CIE-LABlab(51.01, 5.91, 48.31)
CIE-LCHlch(51.01, 48.67, 83.03°)
OKLaboklab(57.99% 0.0114 0.1057)
OKLCHoklch(57.99% 0.106 83.8)
XYZxyz(19.4701, 19.2774, 4.1340)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987421 #214598
analogous
#983921 #987421 #819821
triadic
#987421 #219874 #742198
tetradic
#987421 #219839 #214598 #982181
square
#987421 #219839 #214598 #982181
split-complementary
#987421 #218198 #392198
monochromatic
#33270B #664E16 #987421 #CA9A2C #DBB359

Accessibility & contrast

On white

4.33
#987421 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#987421 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987421
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987421#FFFFFF#000000##000000
##9874211.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#A56964
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #987421;
/* rgb */ color: rgb(152, 116, 33);
/* oklch */ color: oklch(58.0% 0.106 83.8);
Tailwind
colors: {
  custom: {
    50: '#bb9b63',
    500: '#987421',
    950: '#000000',
  },
}
SCSS
$custom: #987421;
$custom-light: #bb9b63;
$custom-dark: #000000;
JSON
{
  "hex": "#987421",
  "rgb": {
    "r": 152,
    "g": 116,
    "b": 33
  },
  "hsl": {
    "h": 41.849,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57986,
    "c": 0.10636,
    "h": 83.8
  },
  "luminance": 0.19276
}

Semantic roles & 50–950 ramp

primary
#987421
secondary
#5676BF
accent
#73E740
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #987421

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

Preview Lab → · Contrast checker → · Palette generator →

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