Skip to content

#6c6c6c

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

RGB
108, 108, 108
HSL
0°, 0%, 42%
CMYK
0, 0, 0, 58
Luminance
0.1500

Every format

HEX#6c6c6c
RGBrgb(108, 108, 108)
HSLhsl(0, 0%, 42%)
CMYKcmyk(0%, 0%, 0%, 58%)
LABlab(45.6 0.0 0.0)
LCHlch(45.6 0.0 180.0)
OKLCHoklch(0.531 0.000 89.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#6c6c6c on white: 5.25:1
AA ✓ pass · AA-large · AAA
Aa
#6c6c6c on black: 4.00:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red42.4%
Green42.4%
Blue42.4%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow0.0%
Key (black)57.6%

Color previews

#6c6c6c text on a black background

contrast 4.00:1

Card sample

#6c6c6c text on a white background

contrast 5.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6c6c6c;
Background color
Panel with #6c6c6c background
background-color: #6c6c6c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6c6c6c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(108, 108, 108, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 108, 108, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c6c6c;
background: linear-gradient(135deg, #6c6c6c, #6C6C6C);

Monochromatic scale

Palettes built from #6c6c6c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6c6c6c in the Color Lab