HEX Color Conversion

Hex Color Code #989898 — RGB & HSL Conversions

How to use the #989898 color code in HTML & CSS?

For developers, implementing the #989898 color code involves declaring it in your styles. In stylesheet designs, use color: #989898; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#989898] or custom configure it in your theme files.

What are the RGB and HSL conversion values for #989898?

The RGB code for #989898 is computed as rgb(152, 152, 152). Web designers using HSL values will find it at a hue of 0°, saturation of 0%, and lightness index of 60%, representing a highly muted, near-gray tone.

CMYK print code settings for #989898

For print design setups, the CMYK values for the #989898 color code are Cyan: 0%, Magenta: 0%, Yellow: 0%, and Black: 40%. Given its red-channel dominance, this color is a powerful visual stimulator often deployed in banners, call-to-actions, and warning components.

Red Channel 152
Green Channel 152
Blue Channel 152
Luminance 0.314

HEX #989898 Color Space Conversions

Click to copy format
HEX Color Code #989898
RGB (Red Green Blue) rgb(152, 152, 152)
HSL (Hue Sat Light) hsl(0°, 0%, 60%)
CMYK (Commercial Print) cmyk(0%, 0%, 0%, 40%)
HSV / HSB Values hsv(0°, 0%, 60%)
Decimal Color Code 10000536
CSS Custom Variable --color-hex: #989898;
Tailwind CSS Utility bg-[#989898]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #989898

Small body copy preview

Black Text on Background

Black text readability test with #989898

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #989898 */
--color-hex: #989898;
--color-rgb: rgb(152, 152, 152);
--color-hsl: hsl(0deg, 0%, 60%);

Adjacent HEX Color Codes

Copied!