Skip to content

#2afccc

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

RGB
42, 252, 204
HSL
166°, 97%, 58%
CMYK
83, 0, 19, 1
Luminance
0.7447

At a glance

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

Hex
#2afccc
Hue
166°
cyan
Saturation
97%
electric
Lightness
58%
balanced
Brightness
99%
HSV value
Perceived
81%
weighted brightness
Luminance
0.7447
WCAG relative
Temperature
Cool
82/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
15.89:1
Closest name
Aqua Marine
ΔE2000 4.5
Where it sits
Hue166° of 360°
Saturation97%
Lightness58%
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#2afccc
RGBrgb(42, 252, 204)
HSLhsl(166, 97%, 58%)
CMYKcmyk(83%, 0%, 19%, 1%)
LABlab(89.1 -58.8 9.5)
LCHlch(89.1 59.5 170.8)
OKLCHoklch(0.886 0.166 171.7)
Decimal2817228
Display P3color(display-p3 0.165 0.988 0.800)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2afccc on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#2afccc on black: 15.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F4EBCA
deuteranopia · #DBD8CF
tritanopia · #00FEEE

Color scale — 50 to 950

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

#F1FDFB
#E4FCF6
#C1FBEE
#90FDE5
#59FDD7
#2afccc
#03F1BB
#03C99C
#02A17D
#06745B
#044839
Base = 500Lightest = 50 · #F1FDFBDarkest = 950 · #044839
:root {
  --brand-50: #F1FDFB;
  --brand-100: #E4FCF6;
  --brand-200: #C1FBEE;
  --brand-300: #90FDE5;
  --brand-400: #59FDD7;
  --brand-500: #2afccc;
  --brand-600: #03F1BB;
  --brand-700: #03C99C;
  --brand-800: #02A17D;
  --brand-900: #06745B;
  --brand-950: #044839;
  --brand: #2afccc;
  --brand-ink: #000000;
}

Colors that work with #2afccc

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#4B9B89
Captions on the surface
Accent#FF278E
Second voice, not a rival
Dark variant#027E61
Hover, pressed, headers
Light variant#E6FFF9
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 #2afccc

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#FC2A5A
Analogous left#2AFC63
Analogous right#2AC3FC
Split-complement 1#FC2AC3
Split-complement 2#FC632A
Triadic 1#CC2AFC
Triadic 2#FCCC2A
Tetradic#632AFC

RGB percentages

Red16.5%
Green98.8%
Blue80.0%

CMYK percentages

Cyan83.3%
Magenta0.0%
Yellow19.0%
Key (black)1.2%

Color previews

#2afccc text on a black background

contrast 15.89:1

Card sample

#2afccc text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afccc

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.

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

#2afccc, answered

What color is #2afccc?

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

What is the RGB value of #2afccc?

rgb(42, 252, 204) — 42 red, 252 green and 204 blue out of 255, or 16.5% / 98.8% / 80% by channel.

Is #2afccc a light or a dark color?

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

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

Black. It scores 15.89:1 against #2afccc, versus 1.32:1 for white — AAA at any size.

What is the complementary color of #2afccc?

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

What colors go well with #2afccc?

For interface work: #F4FAF9 as the surface, #C0EDE2 for borders, #4B9B89 for secondary text, #FF278E as an accent and #027E61 for hover and pressed states. For a palette, the analogous pair #2AFC63 and #2AC3FC stays calm, while #FC2A5A is the loudest partner.

What is #2afccc in CMYK for printing?

cmyk(83%, 0%, 19%, 1%). 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 #2afccc 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 #2AFC7F; nudged cooler, #28E0FE.

Work with #2afccc in the Color Lab