Skip to content

#40cec0

a balanced, vivid cyan · cool · closest name: Medium Turquoise

RGB
64, 206, 192
HSL
174°, 59%, 53%
CMYK
69, 0, 7, 19
Luminance
0.4904

At a glance

Every number on this page in one read: what #40cec0 is made of, how bright it looks, and which way it leans.

Hex
#40cec0
Hue
174°
cyan
Saturation
59%
vivid
Lightness
53%
balanced
Brightness
81%
HSV value
Perceived
68%
weighted brightness
Luminance
0.4904
WCAG relative
Temperature
Cool
85/100 cool
Color family
Cyan
Tone
Vivid
Best ink
Black
10.81:1
Closest name
Medium Turquoise
ΔE2000 3.3
Where it sits
Hue174° of 360°
Saturation59%
Lightness53%
Temperature
Warm ← → Cool85% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#40cec0
RGBrgb(64, 206, 192)
HSLhsl(174, 59%, 53%)
CMYKcmyk(69%, 0%, 7%, 19%)
LABlab(75.5 -40.4 -4.0)
LCHlch(75.5 40.6 185.6)
OKLCHoklch(0.774 0.120 185.5)
Decimal4247232
Display P3color(display-p3 0.251 0.808 0.753)

Copy-ready code

/* CSS */
color: #40cec0;
background-color: #40cec0;
/* Tailwind (arbitrary) */
class="text-[#40cec0] bg-[#40cec0]"
/* SCSS */
$brand: #40cec0;
/* SwiftUI */
Color(red: 0.251, green: 0.808, blue: 0.753)
/* Android */
Color.parseColor("#40cec0")
/* Flutter */
Color(0xFF40CEC0)
/* Python / OpenCV (BGR) */
(192, 206, 64)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #40cec0 · 10.81:1
Use #000000AAA at every size.
Aa
White text · 1.94:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.81:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #40cec0 as text scores 1.94:1 on white and 10.81:1 on black.

Accessibility — WCAG contrast

Aa
#40cec0 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#40cec0 on black: 10.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C4C3C0
deuteranopia · #AFB4C2
tritanopia · #00D3C9

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #40cec0 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4FBFA
#E9F7F5
#CDEFEC
#A6E8E2
#79DDD3
#40cec0
#32C3B5
#2AA297
#218278
#1C5F58
#113B37
Base = 500Lightest = 50 · #F4FBFADarkest = 950 · #113B37
:root {
  --brand-50: #F4FBFA;
  --brand-100: #E9F7F5;
  --brand-200: #CDEFEC;
  --brand-300: #A6E8E2;
  --brand-400: #79DDD3;
  --brand-500: #40cec0;
  --brand-600: #32C3B5;
  --brand-700: #2AA297;
  --brand-800: #218278;
  --brand-900: #1C5F58;
  --brand-950: #113B37;
  --brand: #40cec0;
  --brand-ink: #000000;
}

Colors that work with #40cec0

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4FAFA
Tinted page background
Border#C0EDE8
Hairlines and dividers
Muted text#4B9B93
Captions on the surface
Accent#D33B70
Second voice, not a rival
Dark variant#1A655E
Hover, pressed, headers
Light variant#EBFAF8
Selected rows, tints
Dark surface#142423
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #40cec0

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#CE404E
Analogous left#40CE79
Analogous right#4095CE
Split-complement 1#CE4095
Split-complement 2#CE7940
Triadic 1#C040CE
Triadic 2#CEC040
Tetradic#7940CE

RGB percentages

Red25.1%
Green80.8%
Blue75.3%

CMYK percentages

Cyan68.9%
Magenta0.0%
Yellow6.8%
Key (black)19.2%

Color previews

#40cec0 text on a black background

contrast 10.81:1

Card sample

#40cec0 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #40cec0;
Background color
Panel with #40cec0 background
background-color: #40cec0;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #40cec0;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(64, 206, 192, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 206, 192, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40cec0;
background: linear-gradient(135deg, #40cec0, #407DCE);

Monochromatic scale

Palettes built from #40cec0

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#40cec0 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#40cec0, answered

What color is #40cec0?

#40cec0 is a balanced vivid cyan, closest to Medium Turquoise (ΔE2000 3.3). It sits at 174° on the hue wheel with 59% saturation and 53% lightness, which reads as cool.

What is the RGB value of #40cec0?

rgb(64, 206, 192) — 64 red, 206 green and 192 blue out of 255, or 25.1% / 80.8% / 75.3% by channel.

Is #40cec0 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4904 and perceived brightness is 68%, so black text on it reaches 10.81:1.

Should I use black or white text on #40cec0?

Black. It scores 10.81:1 against #40cec0, versus 1.94:1 for white — AAA at any size.

What is the complementary color of #40cec0?

#CE404E sits directly opposite on the wheel. Softer options are the split-complements #CE4095 and #CE7940, which give the same contrast with far less vibration.

What colors go well with #40cec0?

For interface work: #F4FAFA as the surface, #C0EDE8 for borders, #4B9B93 for secondary text, #D33B70 as an accent and #1A655E for hover and pressed states. For a palette, the analogous pair #40CE79 and #4095CE stays calm, while #CE404E is the loudest partner.

What is #40cec0 in CMYK for printing?

cmyk(69%, 0%, 7%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #40cec0 warm or cool?

Cool — it scores 85 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #40CE8C; nudged cooler, #3DA9D0.

Work with #40cec0 in the Color Lab