#006666 color
#006666 is a dark cyan colour. It is rgb(0, 102, 102) in RGB and hsl(180, 100%, 20%) in HSL. Text in white reads better on it: the contrast is 6.79:1 against white and 3.09:1 against black.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#006666}:\quad R=\mathrm{00}_{16}=0,\ G=\mathrm{66}_{16}=102,\ B=\mathrm{66}_{16}=102 - 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.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
180^\circ + 180^\circ = 0^\circ ;\Rightarrow; \mathrm{#660000} - 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).
LaTeX source of the formulas on this page
\[ \mathrm{#006666} = \mathrm{rgb}(0, 102, 102) \]
\[ \mathrm{#006666}:\quad R=\mathrm{00}_{16}=0,\ G=\mathrm{66}_{16}=102,\ B=\mathrm{66}_{16}=102 \]
\[ H=180^\circ,\quad S=100\%,\quad L=20\% \]
\[ 180^\circ + 180^\circ = 0^\circ ;\Rightarrow; \mathrm{#660000} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 6.79:1\ \text{(on white)} \]#006666 in every colour format
| Format | Value |
|---|---|
| HEX | #006666 |
| RGB | rgb(0, 102, 102) |
| RGB (percent) | rgb(0.0%, 40.0%, 40.0%) |
| HSL | hsl(180, 100%, 20%) |
| HSV / HSB | hsv(180, 100%, 40%) |
| CMYK | cmyk(100%, 0%, 0%, 60%) |
| Decimal | 26214 |
| Description | dark cyan |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 6.79:1 | pass | pass | fail | pass |
| Black text | 3.09:1 | fail | pass | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #001111 #002222 #003333 #004444 #005555 |
| This colour | #006666 |
| Tints (mixed with white) | #2B8080 #559999 #80B3B3 #AACCCC #D5E6E6 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #5E6066 | 25 |
| Deuteranopia | #525767 | 26 |
| Tritanopia | #006A66 | 3 |
| Grayscale | #5B5B5B | - |
Nearest named colours
| Name | Hex |
|---|---|
| Teal | #008080 |
| Dark cyan | #008B8B |
| Dark slate gray | #2F4F4F |
| Cadet blue | #5F9EA0 |
Questions
What is the RGB value of #006666?
rgb(0, 102, 102): red 0, green 102, blue 102.
What is the HSL value of #006666?
hsl(180, 100%, 20%): a hue of 180°, 100% saturation and 20% lightness.
What is the complementary colour of #006666?
#660000, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #FF9999.
Should I use white or black text on #006666?
White. White gives 6.79:1 and black 3.09:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #006666?
cmyk(100%, 0%, 0%, 60%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #006666?
Teal (#008080).