Skip to content

#2af2d7

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

RGB
42, 242, 215
HSL
172°, 89%, 56%
CMYK
83, 0, 11, 5
Luminance
0.6890

At a glance

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

Hex
#2af2d7
Hue
172°
cyan
Saturation
89%
electric
Lightness
56%
balanced
Brightness
95%
HSV value
Perceived
79%
weighted brightness
Luminance
0.6890
WCAG relative
Temperature
Cool
84/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
14.78:1
Closest name
Turquoise
ΔE2000 4.9
Where it sits
Hue172° of 360°
Saturation89%
Lightness56%
Temperature
Warm ← → Cool84% 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#2af2d7
RGBrgb(42, 242, 215)
HSLhsl(172, 89%, 56%)
CMYKcmyk(83%, 0%, 11%, 5%)
LABlab(86.5 -52.0 -0.1)
LCHlch(86.5 52.0 180.2)
OKLCHoklch(0.864 0.150 180.5)
Decimal2814679
Display P3color(display-p3 0.165 0.949 0.843)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2af2d7 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#2af2d7 on black: 14.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E7E3D6
deuteranopia · #CED1D9
tritanopia · #00F6EA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2af2d7 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
#E5FAF8
#C4F8F1
#95F9EB
#60F5E1
#2af2d7
#0EE7C9
#0CC0A8
#099A86
#0B6F62
#07453D
Base = 500Lightest = 50 · #F2FDFBDarkest = 950 · #07453D
:root {
  --brand-50: #F2FDFB;
  --brand-100: #E5FAF8;
  --brand-200: #C4F8F1;
  --brand-300: #95F9EB;
  --brand-400: #60F5E1;
  --brand-500: #2af2d7;
  --brand-600: #0EE7C9;
  --brand-700: #0CC0A8;
  --brand-800: #099A86;
  --brand-900: #0B6F62;
  --brand-950: #07453D;
  --brand: #2af2d7;
  --brand-ink: #000000;
}

Colors that work with #2af2d7

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#C0EDE7
Hairlines and dividers
Muted text#4B9B90
Captions on the surface
Accent#F72676
Second voice, not a rival
Dark variant#077869
Hover, pressed, headers
Light variant#E7FEFA
Selected rows, tints
Dark surface#142422
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 #2af2d7

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#F22A45
Analogous left#2AF273
Analogous right#2AA9F2
Split-complement 1#F22AA9
Split-complement 2#F2732A
Triadic 1#D72AF2
Triadic 2#F2D72A
Tetradic#732AF2

RGB percentages

Red16.5%
Green94.9%
Blue84.3%

CMYK percentages

Cyan82.6%
Magenta0.0%
Yellow11.2%
Key (black)5.1%

Color previews

#2af2d7 text on a black background

contrast 14.78:1

Card sample

#2af2d7 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2af2d7

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.

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

#2af2d7, answered

What color is #2af2d7?

#2af2d7 is a balanced electric cyan, closest to Turquoise (ΔE2000 4.9). It sits at 172° on the hue wheel with 89% saturation and 56% lightness, which reads as cool.

What is the RGB value of #2af2d7?

rgb(42, 242, 215) — 42 red, 242 green and 215 blue out of 255, or 16.5% / 94.9% / 84.3% by channel.

Is #2af2d7 a light or a dark color?

It is a light color. Relative luminance is 0.6890 and perceived brightness is 79%, so black text on it reaches 14.78:1.

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

Black. It scores 14.78:1 against #2af2d7, versus 1.42:1 for white — AAA at any size.

What is the complementary color of #2af2d7?

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

What colors go well with #2af2d7?

For interface work: #F4FAFA as the surface, #C0EDE7 for borders, #4B9B90 for secondary text, #F72676 as an accent and #077869 for hover and pressed states. For a palette, the analogous pair #2AF273 and #2AA9F2 stays calm, while #F22A45 is the loudest partner.

What is #2af2d7 in CMYK for printing?

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

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

Work with #2af2d7 in the Color Lab