Skip to content

#2afee6

a balanced, electric cyan · cool · closest name: Turquoise

RGB
42, 254, 230
HSL
173°, 99%, 58%
CMYK
84, 0, 9, 0
Luminance
0.7709

At a glance

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

Hex
#2afee6
Hue
173°
cyan
Saturation
99%
electric
Lightness
58%
balanced
Brightness
100%
HSV value
Perceived
83%
weighted brightness
Luminance
0.7709
WCAG relative
Temperature
Cool
85/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
16.42:1
Closest name
Turquoise
ΔE2000 6.7
Where it sits
Hue173° of 360°
Saturation99%
Lightness58%
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#2afee6
RGBrgb(42, 254, 230)
HSLhsl(173, 99%, 58%)
CMYKcmyk(84%, 0%, 9%, 0%)
LABlab(90.4 -53.0 -2.3)
LCHlch(90.4 53.1 182.4)
OKLCHoklch(0.898 0.155 182.6)
Decimal2817766
Display P3color(display-p3 0.165 0.996 0.902)

Copy-ready code

/* CSS */
color: #2afee6;
background-color: #2afee6;
/* Tailwind (arbitrary) */
class="text-[#2afee6] bg-[#2afee6]"
/* SCSS */
$brand: #2afee6;
/* SwiftUI */
Color(red: 0.165, green: 0.996, blue: 0.902)
/* Android */
Color.parseColor("#2afee6")
/* Flutter */
Color(0xFF2AFEE6)
/* Python / OpenCV (BGR) */
(230, 254, 42)

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 #2afee6 · 16.42:1
Use #000000AAA at every size.
Aa
White text · 1.28:1
AA fail · AA large fail · AAA fail
Aa
Black text · 16.42:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #2afee6 as text scores 1.28:1 on white and 16.42:1 on black.

Accessibility — WCAG contrast

Aa
#2afee6 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#2afee6 on black: 16.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F2EFE5
deuteranopia · #D7DBE8
tritanopia · #00FFF6

Color scale — 50 to 950

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

#F1FEFC
#E3FCF9
#C0FBF5
#8FFEF2
#57FEEB
#2afee6
#01F4D8
#01CBB4
#01A290
#057568
#034941
Base = 500Lightest = 50 · #F1FEFCDarkest = 950 · #034941
:root {
  --brand-50: #F1FEFC;
  --brand-100: #E3FCF9;
  --brand-200: #C0FBF5;
  --brand-300: #8FFEF2;
  --brand-400: #57FEEB;
  --brand-500: #2afee6;
  --brand-600: #01F4D8;
  --brand-700: #01CBB4;
  --brand-800: #01A290;
  --brand-900: #057568;
  --brand-950: #034941;
  --brand: #2afee6;
  --brand-ink: #000000;
}

Colors that work with #2afee6

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#4B9B92
Captions on the surface
Accent#FF2977
Second voice, not a rival
Dark variant#017F71
Hover, pressed, headers
Light variant#E6FFFC
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 #2afee6

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#FE2A42
Analogous left#2AFE7C
Analogous right#2AACFE
Split-complement 1#FE2AAC
Split-complement 2#FE7C2A
Triadic 1#E62AFE
Triadic 2#FEE62A
Tetradic#7C2AFE

RGB percentages

Red16.5%
Green99.6%
Blue90.2%

CMYK percentages

Cyan83.5%
Magenta0.0%
Yellow9.4%
Key (black)0.4%

Color previews

#2afee6 text on a black background

contrast 16.42:1

Card sample

#2afee6 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2afee6;
Background color
Panel with #2afee6 background
background-color: #2afee6;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 254, 230, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 254, 230, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2afee6;
background: linear-gradient(135deg, #2afee6, #2A89FE);

Monochromatic scale

Palettes built from #2afee6

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.

#2afee6 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.

#2afee6, answered

What color is #2afee6?

#2afee6 is a balanced electric cyan, closest to Turquoise (ΔE2000 6.7). It sits at 173° on the hue wheel with 99% saturation and 58% lightness, which reads as cool.

What is the RGB value of #2afee6?

rgb(42, 254, 230) — 42 red, 254 green and 230 blue out of 255, or 16.5% / 99.6% / 90.2% by channel.

Is #2afee6 a light or a dark color?

It is a light color. Relative luminance is 0.7709 and perceived brightness is 83%, so black text on it reaches 16.42:1.

Should I use black or white text on #2afee6?

Black. It scores 16.42:1 against #2afee6, versus 1.28:1 for white — AAA at any size.

What is the complementary color of #2afee6?

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

What colors go well with #2afee6?

For interface work: #F4FAFA as the surface, #C0EDE8 for borders, #4B9B92 for secondary text, #FF2977 as an accent and #017F71 for hover and pressed states. For a palette, the analogous pair #2AFE7C and #2AACFE stays calm, while #FE2A42 is the loudest partner.

What is #2afee6 in CMYK for printing?

cmyk(84%, 0%, 9%, 0%). 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 #2afee6 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 #2AFE98; nudged cooler, #29D3FF.

Work with #2afee6 in the Color Lab