CSS named color
Turquoise #40E0D0
Turquoise (CSS keyword turquoise) has the hex code #40E0D0 and the RGB value rgb(64, 224, 208): a very light, moderately saturated cyan.
Named after the turquoise gemstone; the word comes from French for "Turkish", since the stone reached Europe through Turkey. The CSS value (#40e0d0) is a bright blue-green.
Color codes for Turquoise
| CSS keyword | turquoise |
|---|---|
| HEX | #40E0D0 |
| RGB | rgb(64, 224, 208) |
| HSL | hsl(174, 72%, 56%) |
| HWB | hwb(174 25% 12%) |
| OKLCH | oklch(82.2% 0.131 185.1) |
| CMYK (naive, no ICC profile) | cmyk(71%, 0%, 7%, 12%) |
| Decimal | 4,251,856 |
| Hue family | Cyans and teals |
Contrast and accessibility
On turquoise, black text has a contrast ratio of 12.79:1 and passes AAA at any text size; white text reaches 1.64:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on turquoise | 12.79:1 | Pass | Pass | Pass | Pass | 75.7 |
| White text on turquoise | 1.64:1 | Fail | Fail | Fail | Fail | −31.7 |
| Turquoise text on white | 1.64:1 | Fail | Fail | Fail | Fail | 28.1 |
| Turquoise text on black | 12.79:1 | Pass | Pass | Pass | Pass | −74.9 |
Tints and shades
Each step mixes turquoise with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, turquoise, white 25%) in CSS.
Tints (mixed with white)
- 5%
#4ae2d2 - 15%
#5de5d7 - 25%
#70e8dc - 35%
#83ebe0 - 45%
#96eee5 - 55%
#a9f1ea - 65%
#bcf4ef - 75%
#cff7f3 - 85%
#e2faf8 - 95%
#f5fdfd
Shades (mixed with black)
- 5%
#3dd5c6 - 15%
#36beb1 - 25%
#30a89c - 35%
#2a9287 - 45%
#237b72 - 55%
#1d655e - 65%
#164e49 - 75%
#103834 - 85%
#0a221f - 95%
#030b0a
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, turquoise's complementary color is #FFA0B9 (close to lightpink), its analogous colors are #79DE9F and #40DAFA, and its triadic partners are #D9AFFF and #FFB263. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #ffa0b9 |
| Analogous | −30°, +30° | #79de9f#40dafa |
| Triadic | +120°, +240° | #d9afff#ffb263 |
| Split-complementary | +150°, +210° | #f9a4e6#ffa78d |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
Turquoise is a cool color: its hue is 174° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| mediumturquoise | #48d1cc | 4.1 |
| darkturquoise | #00ced1 | 5.7 |
| mediumaquamarine | #66cdaa | 6.1 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| teal-300 | #46ecd5 | 3.5 |
| teal-400 | #00d5be | 5.1 |
| emerald-300 | #5ee9b5 | 5.4 |
Code snippets
.element {
color: turquoise;
background-color: #40e0d0;
border-color: rgb(64 224 208);
outline-color: oklch(82.2% 0.131 185.1);
}<div class="bg-[#40e0d0] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-turquoise: #40e0d0;
}
/* then use bg-turquoise, text-turquoise, border-turquoise */import SwiftUI
extension Color {
static let turquoise = Color(red: 0.251, green: 0.878, blue: 0.816)
}import androidx.compose.ui.graphics.Color
val Turquoise = Color(0xFF40E0D0)import 'package:flutter/material.dart';
const turquoise = Color(0xFF40E0D0);<!-- res/values/colors.xml -->
<color name="turquoise">#40E0D0</color>Frequently asked questions
- What is the hex code for turquoise?
- The hex code for turquoise is #40E0D0. The same color is rgb(64, 224, 208), hsl(174, 72%, 56%) and oklch(82.2% 0.131 185.1), and in CSS you can also write the keyword turquoise directly.
- Is turquoise a warm or cool color?
- Turquoise is a cool color: its hue is 174° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
- What colors go with turquoise?
- Rotating the hue in OKLCH while keeping lightness and chroma, turquoise's complementary color is #FFA0B9 (close to lightpink), its analogous colors are #79DE9F and #40DAFA, and its triadic partners are #D9AFFF and #FFB263. For text on top, black gives the higher contrast.
- Can you use white text on turquoise?
- White text on turquoise has a contrast ratio of 1.64:1, which fails AA even for large text under WCAG 2.2. Black text reaches 12.79:1 and passes both AA and AAA. In APCA terms that is Lc −31.7 for white and Lc 75.7 for black.
- What is the RGB value of turquoise?
- Turquoise is rgb(64, 224, 208): red 64, green 224 and blue 208 on the 0 to 255 scale, or 25.1%, 87.8% and 81.6%. As a decimal integer it is 4251856.
Last reviewed by Arielton Oberek.