CSS Turquoise Color — #40E0D0 HEX Code
CSS Turquoise uses #40E0D0, or RGB(64, 224, 208), in this color catalog. Explore complementary colors, palettes and text contrast below.
Color Wheel
Colors adjacent on the wheel create a serene, comfortable palette. Ideal for nature-inspired designs and cohesive UI themes. Explore analogous harmonies for CSS Turquoise.
Click a swatch to select · Click hex to copy
Colors adjacent on the wheel create a serene, comfortable palette. Ideal for nature-inspired designs and cohesive UI themes.
CSS Turquoise
#40E0D0
CSS Turquoise color reference
Updated
CSS turquoise is exactly #40E0D0. It differs from the #30D5C8 turquoise reference also used on this site; use the keyword or exact HEX deliberately.
CSS keyword: turquoise. Each resolves to #40E0D0 in sRGB.
- HEX — exact
- #40E0D0
- RGB — exact 8-bit channels
- 64, 224, 208
- HSL — rounded
- 174°, 72%, 56%
What is the complementary color?
An HSL hue rotation of 180° gives #E03E4E, keeping the rounded saturation and lightness values. This reference calculation rounds HSL before converting back to RGB. It is a digital harmony starting point, not a pigment-mixing rule or a guarantee of readable text.
Black or white text on CSS Turquoise?
AA requires at least 4.5:1 for normal text. Results use opaque colors and unrounded contrast values; a passing pair does not establish complete accessibility.
Use #40E0D0 in a real interface
Exact match in the Color Match reference list: CSS Turquoise. Reference names are browsing labels; not every name is a CSS keyword.
This value falls short for normal text on white. Try it as an accent surface with the tested label below, or use the contrast fixer for a darker text role.
A passing foreground/background check covers that pair only. Inspect focus, hover and meaningful boundaries against their actual neighbors.
Assign roles and check the pair
The lightest and darkest supplied values are the starting reading pair. The accent label adds black or white, whichever has greater contrast. You can change the accent below.
A palette in context
Use this preview to inspect reading text and an accent label.
Example actionReading text #111827 on #40E0D0: 10.805:1 - Pass normal text AA.
Accent label #000000 on #40E0D0: 12.791:1.
Checks use unrounded ratios and opaque sRGB. The example action is a visual sample. Test boundaries, focus and hover in your actual component.
All color pairs: normal text AA
| Text / background | #40E0D0 | #111827 |
|---|---|---|
| #40E0D0 | 1.00:1 Fail | 10.81:1 Pass |
| #111827 | 10.81:1 Pass | 1.00:1 Fail |
:root {
--surface: #40E0D0;
--text: #111827;
--accent: #40E0D0;
--on-accent: #000000;
}Shades & Tints
Tints (Adding White)
Shades (Adding Black)
Theme Palettes
Pastel
Vintage
Neon
Dark Mode
Nature
Live Website Preview
Preview your landing page
See your selected colors on headings, surfaces and example actions.
Accessibility
Text contrast on CSS Turquoise
Each sample uses this color as the background. Results describe opaque text contrast, not the accessibility of a whole design.
White text
A normal-size text example.
#FFFFFF on #40E0D0
WCAG: 1.642:1
Normal text: Fail. Large text: Fail.
APCA: -31.66 Lc (supplementary).
Inspect this pair and find a fixBlack text
A normal-size text example.
#000000 on #40E0D0
WCAG: 12.791:1
Normal text: AAA. Large text: AAA.
APCA: 75.74 Lc (supplementary).
Inspect this pair and find a fixAA needs 4.5:1 for normal text and 3:1 for large text. Large text is at least 24 CSS px, or about 18.67 CSS px and bold. Methods and limitations
Vision Simulator
Normal Vision
Vision: Viénot 1999 + Machado 2009. Environment: approximate perceptual simulation.
Extract Colors from Image
Drop image, click, or paste
PNG · JPG · WebP · GIF