#666666 — Tints, Shades & Color Values

#666666

#666666 is a medium, nearly neutral gray. Its nearest CSS named color is dimgray (#696969). For readable text on a #666666 background, white text gives the strongest contrast (5.74:1). #666666 sits in the middle of the lightness range, so it can serve as a primary brand or accent color — use its tints for backgrounds and its shades for text and pressed states.

Want to fine-tune this color interactively? Open #666666 in the tint & shade generator to explore the full lightness, hue, and chroma scales and copy any step.

Color Values

Hex#666666
RGBrgb(102, 102, 102)
HSLhsl(0, 0%, 40%)
HSV / HSB0°, 0%, 40%
Nearest nameddimgray (#696969)

Need these in another format? Use our hex to RGB converter for quick two-way conversion.

Tints of #666666 (Mixed with White)

Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.

Shades of #666666 (Mixed with Black)

Each step blends the base color toward black using new = old × (1 − factor).

WCAG Contrast & Accessibility

Contrast ratios for text placed on a #666666 background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).

Text color White text 5.74:1 — AA normal: Pass · AA large: Pass · AAA: Fail
Black text 3.66:1 — AA normal: Fail · AA large: Pass · AAA: Fail

If neither pure white nor pure black reaches the level you need, pick a lighter tint of #666666 from the ramps above as the background instead — small lightness moves change contrast quickly.

Browse more colors in the color library, or start from any hex code on the HexTints homepage.