#987728#987728

#987728 is a mid, moderate orange. Relative luminance 0.200; OKLCH L 58.7% C 0.103 H 85.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#987728
RGBrgb(152, 119, 40)
HSLhsl(42, 58%, 38%)
HSVhsv(42, 74%, 60%)
CMYKcmyk(0%, 21.7%, 73.7%, 40.4%)
CIE-LABlab(51.86, 4.53, 46.25)
CIE-LCHlch(51.86, 46.47, 84.40°)
OKLaboklab(58.67% 0.0083 0.1028)
OKLCHoklch(58.67% 0.103 85.4)
XYZxyz(19.9299, 20.0236, 4.8223)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987728 #284998
analogous
#983F28 #987728 #819828
triadic
#987728 #289877 #772898
tetradic
#987728 #28983F #284998 #982881
square
#987728 #28983F #284998 #982881
split-complementary
#987728 #288198 #3F2898
monochromatic
#372B0F #68511B #987728 #C89D35 #D6B564

Accessibility & contrast

On white

4.20
#987728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#987728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987728
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987728#FFFFFF#000000##000000
##9877281.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771D
Deuteranopia (green-blind)
#8E7F2C
Tritanopia (blue-blind)
#A56C67
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #987728;
/* rgb */ color: rgb(152, 119, 40);
/* oklch */ color: oklch(58.7% 0.103 85.4);
Tailwind
colors: {
  custom: {
    50: '#ba9e67',
    500: '#987728',
    950: '#000000',
  },
}
SCSS
$custom: #987728;
$custom-light: #ba9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#987728",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 42.321,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58673,
    "c": 0.10318,
    "h": 85.4
  },
  "luminance": 0.20022
}

Semantic roles & 50–950 ramp

primary
#987728
secondary
#607BBC
accent
#74E246
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987728

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

Preview Lab → · Contrast checker → · Palette generator →

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