#afbfbf
a light, muted cyan · cool · closest name: silver
RGB
175, 191, 191
HSL
180°, 11%, 72%
CMYK
8, 0, 0, 25
Luminance
0.5014
Every format
| HEX | #afbfbf |
| RGB | rgb(175, 191, 191) |
| HSL | hsl(180, 11%, 72%) |
| CMYK | cmyk(8%, 0%, 0%, 25%) |
| LAB | lab(76.2 -5.5 -1.9) |
| LCH | lch(76.2 5.8 199.0) |
| OKLCH | oklch(0.792 0.018 196.8) |
Copy-ready code
/* CSS */
color: #afbfbf;
background-color: #afbfbf;
/* Tailwind (arbitrary) */
class="text-[#afbfbf] bg-[#afbfbf]"
/* SCSS */
$brand: #afbfbf;
/* SwiftUI */
Color(red: 0.686, green: 0.749, blue: 0.749)
/* Android */
Color.parseColor("#afbfbf")Accessibility — WCAG contrast
Aa
#afbfbf on white: 1.90:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afbfbf on black: 11.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green74.9%
Blue74.9%
CMYK percentages
Cyan8.4%
Magenta0.0%
Yellow0.0%
Key (black)25.1%
Color previews
#afbfbf text on a black background
contrast 11.03:1
Card sample
#afbfbf text on a white background
contrast 1.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afbfbf;
Background color
Panel with #afbfbf background
background-color: #afbfbf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afbfbf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 191, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 191, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afbfbf; background: linear-gradient(135deg, #afbfbf, #AFB4BF);