#987628#987628

#987628 is a mid, moderate orange. Relative luminance 0.198; OKLCH L 58.5% C 0.103 H 84.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#987628
RGBrgb(152, 118, 40)
HSLhsl(42, 58%, 38%)
HSVhsv(42, 74%, 60%)
CMYKcmyk(0%, 22.4%, 73.7%, 40.4%)
CIE-LABlab(51.60, 5.10, 45.98)
CIE-LCHlch(51.60, 46.26, 83.67°)
OKLaboklab(58.46% 0.01 0.1023)
OKLCHoklch(58.46% 0.103 84.4)
XYZxyz(19.8115, 19.7868, 4.7828)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987628 #284A98
analogous
#983E28 #987628 #829828
triadic
#987628 #289876 #762898
tetradic
#987628 #28983E #284A98 #982882
square
#987628 #28983E #284A98 #982882
split-complementary
#987628 #288298 #3E2898
monochromatic
#372B0F #68501B #987628 #C89C35 #D6B464

Accessibility & contrast

On white

4.24
#987628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#987628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987628
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987628#FFFFFF#000000##000000
##9876281.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#A56B66
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #987628;
/* rgb */ color: rgb(152, 118, 40);
/* oklch */ color: oklch(58.5% 0.103 84.4);
Tailwind
colors: {
  custom: {
    50: '#ba9d67',
    500: '#987628',
    950: '#000000',
  },
}
SCSS
$custom: #987628;
$custom-light: #ba9d67;
$custom-dark: #000000;
JSON
{
  "hex": "#987628",
  "rgb": {
    "r": 152,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 41.786,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.10274,
    "h": 84.4
  },
  "luminance": 0.19785
}

Semantic roles & 50–950 ramp

primary
#987628
secondary
#607CBC
accent
#75E246
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987628

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

Preview Lab → · Contrast checker → · Palette generator →

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