#5f6d5f
a dark, muted gray · cool · closest name: gray
RGB
95, 109, 95
HSL
120°, 7%, 40%
CMYK
13, 0, 13, 57
Luminance
0.1420
Every format
| HEX | #5f6d5f |
| RGB | rgb(95, 109, 95) |
| HSL | hsl(120, 7%, 40%) |
| CMYK | cmyk(13%, 0%, 13%, 57%) |
| LAB | lab(44.5 -8.3 6.1) |
| LCH | lch(44.5 10.2 143.7) |
| OKLCH | oklch(0.519 0.028 145.2) |
Copy-ready code
/* CSS */
color: #5f6d5f;
background-color: #5f6d5f;
/* Tailwind (arbitrary) */
class="text-[#5f6d5f] bg-[#5f6d5f]"
/* SCSS */
$brand: #5f6d5f;
/* SwiftUI */
Color(red: 0.373, green: 0.427, blue: 0.373)
/* Android */
Color.parseColor("#5f6d5f")Accessibility — WCAG contrast
Aa
#5f6d5f on white: 5.47:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#5f6d5f on black: 3.84:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red37.3%
Green42.7%
Blue37.3%
CMYK percentages
Cyan12.8%
Magenta0.0%
Yellow12.8%
Key (black)57.3%
Color previews
#5f6d5f text on a black background
contrast 3.84:1
Card sample
#5f6d5f text on a white background
contrast 5.47:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #5f6d5f;
Background color
Panel with #5f6d5f background
background-color: #5f6d5f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #5f6d5f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(95, 109, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 109, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5f6d5f; background: linear-gradient(135deg, #5f6d5f, #5F6D68);