Skip to content

#2afbc6

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

RGB
42, 251, 198
HSL
165°, 96%, 58%
CMYK
83, 0, 21, 2
Luminance
0.7356

At a glance

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

Hex
#2afbc6
Hue
165°
cyan
Saturation
96%
electric
Lightness
58%
balanced
Brightness
98%
HSV value
Perceived
80%
weighted brightness
Luminance
0.7356
WCAG relative
Temperature
Cool
81/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
15.71:1
Closest name
Aqua Marine
ΔE2000 4.7
Where it sits
Hue165° of 360°
Saturation96%
Lightness58%
Temperature
Warm ← → Cool81% 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#2afbc6
RGBrgb(42, 251, 198)
HSLhsl(165, 96%, 58%)
CMYKcmyk(83%, 0%, 21%, 2%)
LABlab(88.7 -59.8 12.0)
LCHlch(88.7 61.0 168.7)
OKLCHoklch(0.882 0.169 169.6)
Decimal2816966
Display P3color(display-p3 0.165 0.984 0.776)

Copy-ready code

/* CSS */
color: #2afbc6;
background-color: #2afbc6;
/* Tailwind (arbitrary) */
class="text-[#2afbc6] bg-[#2afbc6]"
/* SCSS */
$brand: #2afbc6;
/* SwiftUI */
Color(red: 0.165, green: 0.984, blue: 0.776)
/* Android */
Color.parseColor("#2afbc6")
/* Flutter */
Color(0xFF2AFBC6)
/* Python / OpenCV (BGR) */
(198, 251, 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 #2afbc6 · 15.71:1
Use #000000AAA at every size.
Aa
White text · 1.34:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.71:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #2afbc6 as text scores 1.34:1 on white and 15.71:1 on black.

Accessibility — WCAG contrast

Aa
#2afbc6 on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#2afbc6 on black: 15.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F4E9C3
deuteranopia · #DBD7CA
tritanopia · #00FDEC

Color scale — 50 to 950

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

#F1FDFA
#E4FCF6
#C1FAEC
#91FDE2
#5AFCD3
#2afbc6
#05F0B5
#04C896
#03A078
#077358
#044837
Base = 500Lightest = 50 · #F1FDFADarkest = 950 · #044837
:root {
  --brand-50: #F1FDFA;
  --brand-100: #E4FCF6;
  --brand-200: #C1FAEC;
  --brand-300: #91FDE2;
  --brand-400: #5AFCD3;
  --brand-500: #2afbc6;
  --brand-600: #05F0B5;
  --brand-700: #04C896;
  --brand-800: #03A078;
  --brand-900: #077358;
  --brand-950: #044837;
  --brand: #2afbc6;
  --brand-ink: #000000;
}

Colors that work with #2afbc6

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#C0EDE1
Hairlines and dividers
Muted text#4B9B87
Captions on the surface
Accent#FF2693
Second voice, not a rival
Dark variant#027D5E
Hover, pressed, headers
Light variant#E6FFF8
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 #2afbc6

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#FB2A5F
Analogous left#2AFB5E
Analogous right#2AC8FB
Split-complement 1#FB2AC8
Split-complement 2#FB5E2A
Triadic 1#C62AFB
Triadic 2#FBC62A
Tetradic#5E2AFB

RGB percentages

Red16.5%
Green98.4%
Blue77.6%

CMYK percentages

Cyan83.3%
Magenta0.0%
Yellow21.1%
Key (black)1.6%

Color previews

#2afbc6 text on a black background

contrast 15.71:1

Card sample

#2afbc6 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afbc6

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.

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

#2afbc6, answered

What color is #2afbc6?

#2afbc6 is a balanced electric cyan, closest to Aqua Marine (ΔE2000 4.7). It sits at 165° on the hue wheel with 96% saturation and 58% lightness, which reads as cool.

What is the RGB value of #2afbc6?

rgb(42, 251, 198) — 42 red, 251 green and 198 blue out of 255, or 16.5% / 98.4% / 77.6% by channel.

Is #2afbc6 a light or a dark color?

It is a light color. Relative luminance is 0.7356 and perceived brightness is 80%, so black text on it reaches 15.71:1.

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

Black. It scores 15.71:1 against #2afbc6, versus 1.34:1 for white — AAA at any size.

What is the complementary color of #2afbc6?

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

What colors go well with #2afbc6?

For interface work: #F4FAF9 as the surface, #C0EDE1 for borders, #4B9B87 for secondary text, #FF2693 as an accent and #027D5E for hover and pressed states. For a palette, the analogous pair #2AFB5E and #2AC8FB stays calm, while #FB2A5F is the loudest partner.

What is #2afbc6 in CMYK for printing?

cmyk(83%, 0%, 21%, 2%). 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 #2afbc6 warm or cool?

Cool — it scores 81 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2AFB7A; nudged cooler, #28E5FD.

Work with #2afbc6 in the Color Lab