Skip to content

#40caaa

a balanced, vivid cyan · cool · closest name: Medium Aqua Marine

RGB
64, 202, 170
HSL
166°, 57%, 52%
CMYK
68, 0, 16, 21
Luminance
0.4623

At a glance

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

Hex
#40caaa
Hue
166°
cyan
Saturation
57%
vivid
Lightness
52%
balanced
Brightness
79%
HSV value
Perceived
66%
weighted brightness
Luminance
0.4623
WCAG relative
Temperature
Cool
82/100 cool
Color family
Cyan
Tone
Vivid
Best ink
Black
10.25:1
Closest name
Medium Aqua Marine
ΔE2000 3.3
Where it sits
Hue166° of 360°
Saturation57%
Lightness52%
Temperature
Warm ← → Cool82% 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#40caaa
RGBrgb(64, 202, 170)
HSLhsl(166, 57%, 52%)
CMYKcmyk(68%, 0%, 16%, 21%)
LABlab(73.7 -44.4 5.3)
LCHlch(73.7 44.7 173.2)
OKLCHoklch(0.757 0.126 173.9)
Decimal4246186
Display P3color(display-p3 0.251 0.792 0.667)

Copy-ready code

/* CSS */
color: #40caaa;
background-color: #40caaa;
/* Tailwind (arbitrary) */
class="text-[#40caaa] bg-[#40caaa]"
/* SCSS */
$brand: #40caaa;
/* SwiftUI */
Color(red: 0.251, green: 0.792, blue: 0.667)
/* Android */
Color.parseColor("#40caaa")
/* Flutter */
Color(0xFF40CAAA)
/* Python / OpenCV (BGR) */
(170, 202, 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 #40caaa · 10.25:1
Use #000000AAA at every size.
Aa
White text · 2.05:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.25:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #40caaa as text scores 2.05:1 on white and 10.25:1 on black.

Accessibility — WCAG contrast

Aa
#40caaa on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#40caaa on black: 10.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C3BDA9
deuteranopia · #B0AFAC
tritanopia · #00CCC1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #40caaa 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.

#F4FBF9
#E9F6F3
#CDEEE7
#A7E7D8
#7BDAC4
#40caaa
#35C0A0
#2CA085
#23806A
#1D5D4E
#123A31
Base = 500Lightest = 50 · #F4FBF9Darkest = 950 · #123A31
:root {
  --brand-50: #F4FBF9;
  --brand-100: #E9F6F3;
  --brand-200: #CDEEE7;
  --brand-300: #A7E7D8;
  --brand-400: #7BDAC4;
  --brand-500: #40caaa;
  --brand-600: #35C0A0;
  --brand-700: #2CA085;
  --brand-800: #23806A;
  --brand-900: #1D5D4E;
  --brand-950: #123A31;
  --brand: #40caaa;
  --brand-ink: #000000;
}

Colors that work with #40caaa

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#F4FAF9
Tinted page background
Border#C0EDE2
Hairlines and dividers
Muted text#4B9B88
Captions on the surface
Accent#CF3B82
Second voice, not a rival
Dark variant#1C6453
Hover, pressed, headers
Light variant#EBF9F6
Selected rows, tints
Dark surface#142421
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 #40caaa

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#CA4060
Analogous left#40CA65
Analogous right#40A5CA
Split-complement 1#CA40A5
Split-complement 2#CA6540
Triadic 1#AA40CA
Triadic 2#CAAA40
Tetradic#6540CA

RGB percentages

Red25.1%
Green79.2%
Blue66.7%

CMYK percentages

Cyan68.3%
Magenta0.0%
Yellow15.8%
Key (black)20.8%

Color previews

#40caaa text on a black background

contrast 10.25:1

Card sample

#40caaa text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 202, 170, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 202, 170, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40caaa;
background: linear-gradient(135deg, #40caaa, #408ECA);

Monochromatic scale

Palettes built from #40caaa

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.

#40caaa 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.

#40caaa, answered

What color is #40caaa?

#40caaa is a balanced vivid cyan, closest to Medium Aqua Marine (ΔE2000 3.3). It sits at 166° on the hue wheel with 57% saturation and 52% lightness, which reads as cool.

What is the RGB value of #40caaa?

rgb(64, 202, 170) — 64 red, 202 green and 170 blue out of 255, or 25.1% / 79.2% / 66.7% by channel.

Is #40caaa a light or a dark color?

It is a mid-tone. Relative luminance is 0.4623 and perceived brightness is 66%, so black text on it reaches 10.25:1.

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

Black. It scores 10.25:1 against #40caaa, versus 2.05:1 for white — AAA at any size.

What is the complementary color of #40caaa?

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

What colors go well with #40caaa?

For interface work: #F4FAF9 as the surface, #C0EDE2 for borders, #4B9B88 for secondary text, #CF3B82 as an accent and #1C6453 for hover and pressed states. For a palette, the analogous pair #40CA65 and #40A5CA stays calm, while #CA4060 is the loudest partner.

What is #40caaa in CMYK for printing?

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

Is #40caaa warm or cool?

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

Work with #40caaa in the Color Lab