Skip to content

#40f8cf

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

RGB
64, 248, 207
HSL
167°, 93%, 61%
CMYK
74, 0, 17, 3
Luminance
0.7273

At a glance

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

Hex
#40f8cf
Hue
167°
cyan
Saturation
93%
electric
Lightness
61%
balanced
Brightness
97%
HSV value
Perceived
81%
weighted brightness
Luminance
0.7273
WCAG relative
Temperature
Cool
82/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
15.55:1
Closest name
Aqua Marine
ΔE2000 4.2
Where it sits
Hue167° of 360°
Saturation93%
Lightness61%
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#40f8cf
RGBrgb(64, 248, 207)
HSLhsl(167, 93%, 61%)
CMYKcmyk(74%, 0%, 17%, 3%)
LABlab(88.3 -54.4 6.8)
LCHlch(88.3 54.8 172.9)
OKLCHoklch(0.880 0.155 173.7)
Decimal4257999
Display P3color(display-p3 0.251 0.973 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40f8cf on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#40f8cf on black: 15.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F0E8CD
deuteranopia · #D8D6D2
tritanopia · #00FBEC

Color scale — 50 to 950

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

#F2FDFB
#E4FBF6
#C2F9ED
#93FBE4
#5DF9D6
#40f8cf
#09ECB9
#07C59A
#069D7C
#09725A
#064738
Base = 500Lightest = 50 · #F2FDFBDarkest = 950 · #064738
:root {
  --brand-50: #F2FDFB;
  --brand-100: #E4FBF6;
  --brand-200: #C2F9ED;
  --brand-300: #93FBE4;
  --brand-400: #5DF9D6;
  --brand-500: #40f8cf;
  --brand-600: #09ECB9;
  --brand-700: #07C59A;
  --brand-800: #069D7C;
  --brand-900: #09725A;
  --brand-950: #064738;
  --brand: #40f8cf;
  --brand-ink: #000000;
}

Colors that work with #40f8cf

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#C0EDE3
Hairlines and dividers
Muted text#4B9B89
Captions on the surface
Accent#FC3C97
Second voice, not a rival
Dark variant#057B61
Hover, pressed, headers
Light variant#E6FEF9
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 #40f8cf

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#F84069
Analogous left#40F873
Analogous right#40C5F8
Split-complement 1#F840C5
Split-complement 2#F87340
Triadic 1#CF40F8
Triadic 2#F8CF40
Tetradic#7340F8

RGB percentages

Red25.1%
Green97.3%
Blue81.2%

CMYK percentages

Cyan74.2%
Magenta0.0%
Yellow16.5%
Key (black)2.7%

Color previews

#40f8cf text on a black background

contrast 15.55:1

Card sample

#40f8cf text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40f8cf

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.

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

#40f8cf, answered

What color is #40f8cf?

#40f8cf is a balanced electric cyan, closest to Aqua Marine (ΔE2000 4.2). It sits at 167° on the hue wheel with 93% saturation and 61% lightness, which reads as cool.

What is the RGB value of #40f8cf?

rgb(64, 248, 207) — 64 red, 248 green and 207 blue out of 255, or 25.1% / 97.3% / 81.2% by channel.

Is #40f8cf a light or a dark color?

It is a light color. Relative luminance is 0.7273 and perceived brightness is 81%, so black text on it reaches 15.55:1.

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

Black. It scores 15.55:1 against #40f8cf, versus 1.35:1 for white — AAA at any size.

What is the complementary color of #40f8cf?

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

What colors go well with #40f8cf?

For interface work: #F4FAF9 as the surface, #C0EDE3 for borders, #4B9B89 for secondary text, #FC3C97 as an accent and #057B61 for hover and pressed states. For a palette, the analogous pair #40F873 and #40C5F8 stays calm, while #F84069 is the loudest partner.

What is #40f8cf in CMYK for printing?

cmyk(74%, 0%, 17%, 3%). 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 #40f8cf 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 #40F88C; nudged cooler, #3EDFFA.

Work with #40f8cf in the Color Lab