Skip to content

#5f6d6d

a dark, muted gray · cool · closest name: gray

RGB
95, 109, 109
HSL
180°, 7%, 40%
CMYK
13, 0, 0, 57
Luminance
0.1447

Every format

HEX#5f6d6d
RGBrgb(95, 109, 109)
HSLhsl(180, 7%, 40%)
CMYKcmyk(13%, 0%, 0%, 57%)
LABlab(44.9 -5.3 -1.8)
LCHlch(44.9 5.5 198.7)
OKLCHoklch(0.523 0.017 196.6)

Copy-ready code

/* CSS */
color: #5f6d6d;
background-color: #5f6d6d;
/* Tailwind (arbitrary) */
class="text-[#5f6d6d] bg-[#5f6d6d]"
/* SCSS */
$brand: #5f6d6d;
/* SwiftUI */
Color(red: 0.373, green: 0.427, blue: 0.427)
/* Android */
Color.parseColor("#5f6d6d")

Accessibility — WCAG contrast

Aa
#5f6d6d on white: 5.39:1
AA ✓ pass · AA-large · AAA
Aa
#5f6d6d on black: 3.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red37.3%
Green42.7%
Blue42.7%

CMYK percentages

Cyan12.8%
Magenta0.0%
Yellow0.0%
Key (black)57.3%

Color previews

#5f6d6d text on a black background

contrast 3.89:1

Card sample

#5f6d6d text on a white background

contrast 5.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5f6d6d;
Background color
Panel with #5f6d6d background
background-color: #5f6d6d;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5f6d6d;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(95, 109, 109, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 109, 109, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5f6d6d;
background: linear-gradient(135deg, #5f6d6d, #5F646D);

Monochromatic scale

Palettes built from #5f6d6d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5f6d6d in the Color Lab