#987428#987428

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

Color values

HEX#987428
RGBrgb(152, 116, 40)
HSLhsl(41, 58%, 38%)
HSVhsv(41, 74%, 60%)
CMYKcmyk(0%, 23.7%, 73.7%, 40.4%)
CIE-LABlab(51.06, 6.24, 45.44)
CIE-LCHlch(51.06, 45.86, 82.18°)
OKLaboklab(58.04% 0.0133 0.1011)
OKLCHoklch(58.04% 0.102 82.5)
XYZxyz(19.5785, 19.3208, 4.7052)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987428 #284C98
analogous
#983C28 #987428 #849828
triadic
#987428 #289874 #742898
tetradic
#987428 #28983C #284C98 #982884
square
#987428 #28983C #284C98 #982884
split-complementary
#987428 #288498 #3C2898
monochromatic
#372A0F #684F1B #987428 #C89935 #D6B264

Accessibility & contrast

On white

4.32
#987428 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##987428#FFFFFF#000000##000000
##9874281.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741E
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#A56964
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #987428;
/* rgb */ color: rgb(152, 116, 40);
/* oklch */ color: oklch(58.0% 0.102 82.5);
Tailwind
colors: {
  custom: {
    50: '#ba9b67',
    500: '#987428',
    950: '#000000',
  },
}
SCSS
$custom: #987428;
$custom-light: #ba9b67;
$custom-dark: #000000;
JSON
{
  "hex": "#987428",
  "rgb": {
    "r": 152,
    "g": 116,
    "b": 40
  },
  "hsl": {
    "h": 40.714,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58041,
    "c": 0.10199,
    "h": 82.5
  },
  "luminance": 0.19319
}

Semantic roles & 50–950 ramp

primary
#987428
secondary
#607DBC
accent
#78E246
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987428

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

Preview Lab → · Contrast checker → · Palette generator →

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