WordGPT

#666666 color

#666666 is a gray colour. It is rgb(102, 102, 102) in RGB and hsl(0, 0%, 40%) in HSL. Text in white reads better on it: the contrast is 5.74:1 against white and 3.66:1 against black.

#666666
#666666: #666666
Complementary#666666#666666Analogous#666666#666666#666666Triadic#666666#666666#666666Tetradic (square)#666666#666666#666666#666666Split complementary#666666#666666#666666
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
111111222222333333444444555555666666808080999999b3b3b3cccccce6e6e6
From dark shades (left, mixed with black) to light tints (right, mixed with white)

How to work it out

  1. 1

    A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).

    \mathrm{#666666}:\quad R=\mathrm{66}_{16}=102,\ G=\mathrm{66}_{16}=102,\ B=\mathrm{66}_{16}=102
  2. 2

    HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.

    H=0∘,S=0%,L=40%H=0^\circ,\quad S=0\%,\quad L=40\%
  3. 3

    The complementary colour sits opposite on the wheel: add 180° to the hue.

    0^\circ + 180^\circ = 180^\circ ;\Rightarrow; \mathrm{#666666}
  4. 4

    Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).

    contrast=L1+0.05L2+0.05=5.74:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 5.74:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#666666} = \mathrm{rgb}(102, 102, 102) \]
\[ \mathrm{#666666}:\quad R=\mathrm{66}_{16}=102,\ G=\mathrm{66}_{16}=102,\ B=\mathrm{66}_{16}=102 \]
\[ H=0^\circ,\quad S=0\%,\quad L=40\% \]
\[ 0^\circ + 180^\circ = 180^\circ ;\Rightarrow; \mathrm{#666666} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 5.74:1\ \text{(on white)} \]

#666666 in every colour format

FormatValue
HEX#666666
RGBrgb(102, 102, 102)
RGB (percent)rgb(40.0%, 40.0%, 40.0%)
HSLhsl(0, 0%, 40%)
HSV / HSBhsv(0, 0%, 40%)
CMYKcmyk(0%, 0%, 0%, 60%)
Decimal6710886
Descriptiongray

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text5.74:1passpassfailpass
Black text3.66:1failpassfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#111111 #222222 #333333 #444444 #555555
This colour#666666
Tints (mixed with white)#808080 #999999 #B3B3B3 #CCCCCC #E6E6E6

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#6666660
Deuteranopia#6666660
Tritanopia#6666660
Grayscale#666666-

Nearest named colours

NameHex
Dim gray#696969
Gray#808080
Slate gray#708090
Light slate gray#778899

Questions

What is the RGB value of #666666?

rgb(102, 102, 102): red 102, green 102, blue 102.

What is the HSL value of #666666?

hsl(0, 0%, 40%): a hue of 0°, 0% saturation and 40% lightness.

What is the complementary colour of #666666?

#666666, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #999999.

Should I use white or black text on #666666?

White. White gives 5.74:1 and black 3.66:1; the better one passes WCAG AA for normal text.

What is the CMYK value of #666666?

cmyk(0%, 0%, 0%, 60%). This is a simple formula conversion; printed colours depend on the printer profile.

What is the closest named colour to #666666?

Dim gray (#696969).

Matching colours

A little darker, a little lighter

Make a palette

    #666666 color: RGB, HSL, CMYK, shades and matching palettes | WordGPT