Free Accessible CSS Gradient Generator

← All Colors
#40E0D0 Turquoise

Turquoise Hex Code #40E0D0

Turquoise is a very light, strong cyan with the hex code #40E0D0. In RGB it is 64, 224, 208, and in HSL it is 174°, 72%, 56%. It is one of the 148 named colors in CSS, so you can write “turquoise” instead of the hex code.

HEX
#40E0D0
RGB
rgb(64, 224, 208)
HSL
hsl(174, 72%, 56%)
HSV
hsv(174°, 71%, 88%)
CMYK
cmyk(71%, 0%, 7%, 12%)
CSS name
turquoise

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Turquoise

On a white background Turquoise has a contrast ratio of 1.64:1 (Fail), and on black 12.79:1 (AAA). Black text is the better choice on top of it.

It sits on the cool side of the color wheel, a range that tends to feel calm and appears to recede.

Cyan, teal and turquoise sit between green and blue and feel fresh and clean. They are popular in technology, health and water-related designs.

Good to know: Turquoise is named after the gemstone. CSS turquoise (#40e0d0) is the bright, light version. For other tones, see darkturquoise (#00ced1) and mediumturquoise (#48d1cc).

Shades and tints of Turquoise

Tints mix Turquoise with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Turquoise

These schemes are calculated from Turquoise on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Turquoise is #E06940, close to the named color Coral.

Turquoise contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Turquoise scores against white and black.

Contrast of Turquoise with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 1.64:1 ✕ Fail ✕ Fail ✕ Fail ✕ Fail
Black (#000000) 12.79:1 ✓ Pass ✓ Pass ✓ Pass ✓ Pass
Aa White text on Turquoise1.64:1
Aa Black text on Turquoise12.79:1

Turquoise and color blindness

These are approximate previews of how Turquoise can look with the main types of color vision deficiency.

Protanopia #D5D3D0

Turquoise changes noticeably.

Deuteranopia #BEC3D2

Turquoise changes noticeably.

Tritanopia #00E5DB

Turquoise looks almost the same.

Achromatopsia #CACACA

Turquoise changes noticeably.

Gradients with Turquoise

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Turquoise to a lighter tint

background: linear-gradient(135deg, #40e0d0 0%, #b3f3ec 100%);

Turquoise to its analogous neighbour

background: linear-gradient(135deg, #40e0d0 0%, #40a0e0 100%);

Turquoise to its complement

background: linear-gradient(135deg, #40e0d0 0%, #e04050 100%);

Colors similar to Turquoise

How each close match differs from Turquoise.

More cyan & teal colors →

Use Turquoise in code

CSS
.element {
  color: #40e0d0;
  background-color: #40e0d0;
  border-color: turquoise;   /* turquoise is a valid CSS color name */
}
CSS variable
:root {
  --color-turquoise: #40e0d0;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#40e0d0] text-[#40e0d0] border-[#40e0d0]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-turquoise: #40e0d0;
}

Turquoise questions

What is the hex code for Turquoise?

The hex code for Turquoise is #40E0D0. In RGB that is rgb(64, 224, 208), and in HSL it is hsl(174, 72%, 56%).

What is the complementary color of Turquoise?

On the RGB (screen) color wheel, the complement of Turquoise is #E04050, which is close to Crimson. On the artist’s RYB wheel it is #E06940, close to Coral.

Should I use white or black text on Turquoise?

Black text. It has a contrast ratio of 12.79:1 against Turquoise, which is WCAG AAA. The other option scores 1.64:1.

Is Turquoise accessible as a text color on white?

No. Turquoise on white scores 1.64:1, which is below the WCAG minimum of 3:1 even for large text.

What are darker and lighter shades of Turquoise?

Mixing Turquoise with black gives #33B3A6, #26867D, #1A5A53, #0D2D2A (20% to 80% black). Mixing it with white gives #66E6D9, #8CECE3, #B3F3EC, #D9F9F6 (20% to 80% white).

More color tools