#afb4af
a light, muted gray · cool · closest name: silver
RGB
175, 180, 175
HSL
120°, 3%, 70%
CMYK
3, 0, 3, 29
Luminance
0.4485
Every format
| HEX | #afb4af |
| RGB | rgb(175, 180, 175) |
| HSL | hsl(120, 3%, 70%) |
| CMYK | cmyk(3%, 0%, 3%, 29%) |
| LAB | lab(72.8 -2.7 1.9) |
| LCH | lch(72.8 3.3 144.3) |
| OKLCH | oklch(0.764 0.009 145.5) |
Copy-ready code
/* CSS */
color: #afb4af;
background-color: #afb4af;
/* Tailwind (arbitrary) */
class="text-[#afb4af] bg-[#afb4af]"
/* SCSS */
$brand: #afb4af;
/* SwiftUI */
Color(red: 0.686, green: 0.706, blue: 0.686)
/* Android */
Color.parseColor("#afb4af")Accessibility — WCAG contrast
Aa
#afb4af on white: 2.11:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afb4af on black: 9.97:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green70.6%
Blue68.6%
CMYK percentages
Cyan2.8%
Magenta0.0%
Yellow2.8%
Key (black)29.4%
Color previews
#afb4af text on a black background
contrast 9.97:1
Card sample
#afb4af text on a white background
contrast 2.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afb4af;
Background color
Panel with #afb4af background
background-color: #afb4af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afb4af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 180, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 180, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afb4af; background: linear-gradient(135deg, #afb4af, #AFB4B2);