Skip to content

#5af2e2

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

RGB
90, 242, 226
HSL
174°, 85%, 65%
CMYK
63, 0, 7, 5
Luminance
0.7117

At a glance

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

Hex
#5af2e2
Hue
174°
cyan
Saturation
85%
electric
Lightness
65%
light
Brightness
95%
HSV value
Perceived
81%
weighted brightness
Luminance
0.7117
WCAG relative
Temperature
Cool
85/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
15.23:1
Closest name
Turquoise
ΔE2000 4.2
Where it sits
Hue174° of 360°
Saturation85%
Lightness65%
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#5af2e2
RGBrgb(90, 242, 226)
HSLhsl(174, 85%, 65%)
CMYKcmyk(63%, 0%, 7%, 5%)
LABlab(87.6 -43.6 -4.2)
LCHlch(87.6 43.8 185.5)
OKLCHoklch(0.877 0.130 185.3)
Decimal5960418
Display P3color(display-p3 0.353 0.949 0.886)

Copy-ready code

/* CSS */
color: #5af2e2;
background-color: #5af2e2;
/* Tailwind (arbitrary) */
class="text-[#5af2e2] bg-[#5af2e2]"
/* SCSS */
$brand: #5af2e2;
/* SwiftUI */
Color(red: 0.353, green: 0.949, blue: 0.886)
/* Android */
Color.parseColor("#5af2e2")
/* Flutter */
Color(0xFF5AF2E2)
/* Python / OpenCV (BGR) */
(226, 242, 90)

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

Accessibility — WCAG contrast

Aa
#5af2e2 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#5af2e2 on black: 15.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E6E5E2
deuteranopia · #D0D4E4
tritanopia · #00F7ED

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #5af2e2 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F2FDFB
#E5FAF8
#C5F7F2
#97F7ED
#5af2e2
#2FEFDA
#12E3CD
#0FBDAB
#0C9789
#0D6D63
#08443E
Base = 400Lightest = 50 · #F2FDFBDarkest = 950 · #08443E
:root {
  --brand-50: #F2FDFB;
  --brand-100: #E5FAF8;
  --brand-200: #C5F7F2;
  --brand-300: #97F7ED;
  --brand-400: #5af2e2;
  --brand-500: #2FEFDA;
  --brand-600: #12E3CD;
  --brand-700: #0FBDAB;
  --brand-800: #0C9789;
  --brand-900: #0D6D63;
  --brand-950: #08443E;
  --brand: #5af2e2;
  --brand-ink: #000000;
}

Colors that work with #5af2e2

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#C20A4C
Second voice, not a rival
Dark variant#09766B
Hover, pressed, headers
Light variant#E7FDFB
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 #5af2e2

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
  • Card and section backgrounds
  • 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
  • White text placed on it
  • 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#F25A6A
Analogous left#5AF296
Analogous right#5AB6F2
Split-complement 1#F25AB6
Split-complement 2#F2965A
Triadic 1#E25AF2
Triadic 2#F2E25A
Tetradic#965AF2

RGB percentages

Red35.3%
Green94.9%
Blue88.6%

CMYK percentages

Cyan62.8%
Magenta0.0%
Yellow6.6%
Key (black)5.1%

Color previews

#5af2e2 text on a black background

contrast 15.23:1

Card sample

#5af2e2 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5af2e2;
Background color
Panel with #5af2e2 background
background-color: #5af2e2;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(90, 242, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(90, 242, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5af2e2;
background: linear-gradient(135deg, #5af2e2, #5A9DF2);

Monochromatic scale

Palettes built from #5af2e2

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.

#5af2e2 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#5af2e2, answered

What color is #5af2e2?

#5af2e2 is a light electric cyan, closest to Turquoise (ΔE2000 4.2). It sits at 174° on the hue wheel with 85% saturation and 65% lightness, which reads as cool.

What is the RGB value of #5af2e2?

rgb(90, 242, 226) — 90 red, 242 green and 226 blue out of 255, or 35.3% / 94.9% / 88.6% by channel.

Is #5af2e2 a light or a dark color?

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

Should I use black or white text on #5af2e2?

Black. It scores 15.23:1 against #5af2e2, versus 1.38:1 for white — AAA at any size.

What is the complementary color of #5af2e2?

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

What colors go well with #5af2e2?

For interface work: #F4FAFA as the surface, #C0EDE8 for borders, #4B9B92 for secondary text, #C20A4C as an accent and #09766B for hover and pressed states. For a palette, the analogous pair #5AF296 and #5AB6F2 stays calm, while #F25A6A is the loudest partner.

What is #5af2e2 in CMYK for printing?

cmyk(63%, 0%, 7%, 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 #5af2e2 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 #5AF2AA; nudged cooler, #58CBF4.

Work with #5af2e2 in the Color Lab