Skip to content

#5ecab2

a balanced, vivid cyan · cool · closest name: Medium Aqua Marine

RGB
94, 202, 178
HSL
167°, 51%, 58%
CMYK
54, 0, 12, 21
Luminance
0.4784

At a glance

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

Hex
#5ecab2
Hue
167°
cyan
Saturation
51%
vivid
Lightness
58%
balanced
Brightness
79%
HSV value
Perceived
68%
weighted brightness
Luminance
0.4784
WCAG relative
Temperature
Cool
82/100 cool
Color family
Cyan
Tone
Vivid
Best ink
Black
10.57:1
Closest name
Medium Aqua Marine
ΔE2000 3.6
Where it sits
Hue167° of 360°
Saturation51%
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#5ecab2
RGBrgb(94, 202, 178)
HSLhsl(167, 51%, 58%)
CMYKcmyk(54%, 0%, 12%, 21%)
LABlab(74.7 -36.9 2.6)
LCHlch(74.7 37.0 176.0)
OKLCHoklch(0.769 0.106 176.6)
Decimal6212274
Display P3color(display-p3 0.369 0.792 0.698)

Copy-ready code

/* CSS */
color: #5ecab2;
background-color: #5ecab2;
/* Tailwind (arbitrary) */
class="text-[#5ecab2] bg-[#5ecab2]"
/* SCSS */
$brand: #5ecab2;
/* SwiftUI */
Color(red: 0.369, green: 0.792, blue: 0.698)
/* Android */
Color.parseColor("#5ecab2")
/* Flutter */
Color(0xFF5ECAB2)
/* Python / OpenCV (BGR) */
(178, 202, 94)

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

Accessibility — WCAG contrast

Aa
#5ecab2 on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#5ecab2 on black: 10.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C3BFB1
deuteranopia · #B2B3B4
tritanopia · #22CCC3

Color scale — 50 to 950

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

#F4FAF9
#EAF6F3
#CFEDE6
#ABE3D7
#80D5C3
#5ecab2
#3DB89D
#329A83
#287B69
#215A4D
#143830
Base = 500Lightest = 50 · #F4FAF9Darkest = 950 · #143830
:root {
  --brand-50: #F4FAF9;
  --brand-100: #EAF6F3;
  --brand-200: #CFEDE6;
  --brand-300: #ABE3D7;
  --brand-400: #80D5C3;
  --brand-500: #5ecab2;
  --brand-600: #3DB89D;
  --brand-700: #329A83;
  --brand-800: #287B69;
  --brand-900: #215A4D;
  --brand-950: #143830;
  --brand: #5ecab2;
  --brand-ink: #000000;
}

Colors that work with #5ecab2

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#C2EBE2
Hairlines and dividers
Muted text#4B9B89
Captions on the surface
Accent#CE5A91
Second voice, not a rival
Dark variant#206052
Hover, pressed, headers
Light variant#ECF9F6
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 #5ecab2

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#CA5E76
Analogous left#5ECA7C
Analogous right#5EACCA
Split-complement 1#CA5EAC
Split-complement 2#CA7C5E
Triadic 1#B25ECA
Triadic 2#CAB25E
Tetradic#7C5ECA

RGB percentages

Red36.9%
Green79.2%
Blue69.8%

CMYK percentages

Cyan53.5%
Magenta0.0%
Yellow11.9%
Key (black)20.8%

Color previews

#5ecab2 text on a black background

contrast 10.57:1

Card sample

#5ecab2 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(94, 202, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(94, 202, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5ecab2;
background: linear-gradient(135deg, #5ecab2, #5E9ACA);

Monochromatic scale

Palettes built from #5ecab2

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.

#5ecab2 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

Converts to four-color process without much drama. Proof it anyway.

#5ecab2, answered

What color is #5ecab2?

#5ecab2 is a balanced vivid cyan, closest to Medium Aqua Marine (ΔE2000 3.6). It sits at 167° on the hue wheel with 51% saturation and 58% lightness, which reads as cool.

What is the RGB value of #5ecab2?

rgb(94, 202, 178) — 94 red, 202 green and 178 blue out of 255, or 36.9% / 79.2% / 69.8% by channel.

Is #5ecab2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4784 and perceived brightness is 68%, so black text on it reaches 10.57:1.

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

Black. It scores 10.57:1 against #5ecab2, versus 1.99:1 for white — AAA at any size.

What is the complementary color of #5ecab2?

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

What colors go well with #5ecab2?

For interface work: #F4FAF9 as the surface, #C2EBE2 for borders, #4B9B89 for secondary text, #CE5A91 as an accent and #206052 for hover and pressed states. For a palette, the analogous pair #5ECA7C and #5EACCA stays calm, while #CA5E76 is the loudest partner.

What is #5ecab2 in CMYK for printing?

cmyk(54%, 0%, 12%, 21%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #5ecab2 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 #5ECA8A; nudged cooler, #5CBCCC.

Work with #5ecab2 in the Color Lab