#666666 Hex Code
Gray Color Codes
#666666
Click to copy
Color Information
Name:Gray
Luminance:0.133
Web Safe:Yes
Background Preview
Sample Text
#666666 as text color
This shows how the color appears on different backgrounds
Color Formats
HEX
#666666
Hexadecimal color code
RGB
rgb(102, 102, 102)
Red, Green, Blue values (0-255)
HSL
hsl(0, 0%, 40%)
Hue, Saturation, Lightness
HSV
hsv(0, 0%, 40%)
Hue, Saturation, Value
CMYK
cmyk(0%, 0%, 0%, 60%)
Cyan, Magenta, Yellow, Key (Black)
LAB
lab(43.19, 0, -0.01)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information
Contrast Ratios
White BackgroundAA
Aa
Ratio: 5.74:175/100
Black Backgroundfail
Aa
Ratio: 3.66:150/100
Gray Backgroundfail
Aa
Ratio: 1.45:124/100
WCAG Guidelines
AAAContrast ratio of 7:1 or higher (Enhanced)
AAContrast ratio of 4.5:1 or higher (Standard)
FAILContrast ratio below 4.5:1 (Not recommended)
Color Harmonies