#666666
a dark, muted gray · warm · closest name: gray
RGB
102, 102, 102
HSL
0°, 0%, 40%
CMYK
0, 0, 0, 60
Luminance
0.1329
Every format
| HEX | #666666 |
| RGB | rgb(102, 102, 102) |
| HSL | hsl(0, 0%, 40%) |
| CMYK | cmyk(0%, 0%, 0%, 60%) |
| LAB | lab(43.2 0.0 0.0) |
| LCH | lch(43.2 0.0 180.0) |
| OKLCH | oklch(0.510 0.000 89.9) |
Copy-ready code
/* CSS */
color: #666666;
background-color: #666666;
/* Tailwind (arbitrary) */
class="text-[#666666] bg-[#666666]"
/* SCSS */
$brand: #666666;
/* SwiftUI */
Color(red: 0.400, green: 0.400, blue: 0.400)
/* Android */
Color.parseColor("#666666")Accessibility — WCAG contrast
Aa
#666666 on white: 5.74:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#666666 on black: 3.66:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red40.0%
Green40.0%
Blue40.0%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow0.0%
Key (black)60.0%
Color previews
#666666 text on a black background
contrast 3.66:1
Card sample
#666666 text on a white background
contrast 5.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #666666;
Background color
Panel with #666666 background
background-color: #666666;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #666666;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(102, 102, 102, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(102, 102, 102, 0.45);
Border & gradient
Gradient panel
border: 3px solid #666666; background: linear-gradient(135deg, #666666, #666666);