Skip to content

#40ecba

a balanced, electric cyan · cool · closest name: Aqua Marine

RGB
64, 236, 186
HSL
163°, 82%, 59%
CMYK
73, 0, 21, 8
Luminance
0.6463

At a glance

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

Hex
#40ecba
Hue
163°
cyan
Saturation
82%
electric
Lightness
59%
balanced
Brightness
93%
HSV value
Perceived
76%
weighted brightness
Luminance
0.6463
WCAG relative
Temperature
Cool
80/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
13.93:1
Closest name
Aqua Marine
ΔE2000 5.7
Where it sits
Hue163° of 360°
Saturation82%
Lightness59%
Temperature
Warm ← → Cool80% 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#40ecba
RGBrgb(64, 236, 186)
HSLhsl(163, 82%, 59%)
CMYKcmyk(73%, 0%, 21%, 8%)
LABlab(84.3 -54.6 11.9)
LCHlch(84.3 55.9 167.7)
OKLCHoklch(0.845 0.155 168.6)
Decimal4254906
Display P3color(display-p3 0.251 0.925 0.729)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40ecba on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#40ecba on black: 13.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E6DCB7
deuteranopia · #D0CCBD
tritanopia · #00EDDE

Color scale — 50 to 950

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

#F2FCF9
#E6F9F4
#C6F6E8
#99F5DA
#66F0C8
#40ecba
#16DFA5
#12BA89
#0F946E
#0F6B51
#094332
Base = 500Lightest = 50 · #F2FCF9Darkest = 950 · #094332
:root {
  --brand-50: #F2FCF9;
  --brand-100: #E6F9F4;
  --brand-200: #C6F6E8;
  --brand-300: #99F5DA;
  --brand-400: #66F0C8;
  --brand-500: #40ecba;
  --brand-600: #16DFA5;
  --brand-700: #12BA89;
  --brand-800: #0F946E;
  --brand-900: #0F6B51;
  --brand-950: #094332;
  --brand: #40ecba;
  --brand-ink: #000000;
}

Colors that work with #40ecba

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#C0EDE0
Hairlines and dividers
Muted text#4B9B84
Captions on the surface
Accent#F03C9D
Second voice, not a rival
Dark variant#0C7456
Hover, pressed, headers
Light variant#E8FDF7
Selected rows, tints
Dark surface#142420
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 #40ecba

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#EC4072
Analogous left#40EC64
Analogous right#40C8EC
Split-complement 1#EC40C8
Split-complement 2#EC6440
Triadic 1#BA40EC
Triadic 2#ECBA40
Tetradic#6440EC

RGB percentages

Red25.1%
Green92.5%
Blue72.9%

CMYK percentages

Cyan72.9%
Magenta0.0%
Yellow21.2%
Key (black)7.5%

Color previews

#40ecba text on a black background

contrast 13.93:1

Card sample

#40ecba text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 236, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 236, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40ecba;
background: linear-gradient(135deg, #40ecba, #40ABEC);

Monochromatic scale

Palettes built from #40ecba

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.

#40ecba 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#40ecba, answered

What color is #40ecba?

#40ecba is a balanced electric cyan, closest to Aqua Marine (ΔE2000 5.7). It sits at 163° on the hue wheel with 82% saturation and 59% lightness, which reads as cool.

What is the RGB value of #40ecba?

rgb(64, 236, 186) — 64 red, 236 green and 186 blue out of 255, or 25.1% / 92.5% / 72.9% by channel.

Is #40ecba a light or a dark color?

It is a light color. Relative luminance is 0.6463 and perceived brightness is 76%, so black text on it reaches 13.93:1.

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

Black. It scores 13.93:1 against #40ecba, versus 1.51:1 for white — AAA at any size.

What is the complementary color of #40ecba?

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

What colors go well with #40ecba?

For interface work: #F4FAF9 as the surface, #C0EDE0 for borders, #4B9B84 for secondary text, #F03C9D as an accent and #0C7456 for hover and pressed states. For a palette, the analogous pair #40EC64 and #40C8EC stays calm, while #EC4072 is the loudest partner.

What is #40ecba in CMYK for printing?

cmyk(73%, 0%, 21%, 8%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #40ecba warm or cool?

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

Work with #40ecba in the Color Lab