Skip to content

#31dfab

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

RGB
49, 223, 171
HSL
162°, 73%, 53%
CMYK
78, 0, 23, 13
Luminance
0.5637

At a glance

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

Hex
#31dfab
Hue
162°
cyan
Saturation
73%
vivid
Lightness
53%
balanced
Brightness
87%
HSV value
Perceived
71%
weighted brightness
Luminance
0.5637
WCAG relative
Temperature
Cool
80/100 cool
Color family
Cyan
Tone
Vivid
Best ink
Black
12.27:1
Closest name
Medium Aqua Marine
ΔE2000 6.2
Where it sits
Hue162° of 360°
Saturation73%
Lightness53%
Temperature
Warm ← → Cool80% 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#31dfab
RGBrgb(49, 223, 171)
HSLhsl(162, 73%, 53%)
CMYKcmyk(78%, 0%, 23%, 13%)
LABlab(79.8 -54.6 13.5)
LCHlch(79.8 56.3 166.2)
OKLCHoklch(0.807 0.155 167.2)
Decimal3268523
Display P3color(display-p3 0.192 0.875 0.671)

Copy-ready code

/* CSS */
color: #31dfab;
background-color: #31dfab;
/* Tailwind (arbitrary) */
class="text-[#31dfab] bg-[#31dfab]"
/* SCSS */
$brand: #31dfab;
/* SwiftUI */
Color(red: 0.192, green: 0.875, blue: 0.671)
/* Android */
Color.parseColor("#31dfab")
/* Flutter */
Color(0xFF31DFAB)
/* Python / OpenCV (BGR) */
(171, 223, 49)

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

Accessibility — WCAG contrast

Aa
#31dfab on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#31dfab on black: 12.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DACFA8
deuteranopia · #C4C0AE
tritanopia · #00E0D0

Color scale — 50 to 950

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

#F3FCF9
#E7F8F3
#C9F3E6
#9EF0D7
#6DE8C4
#31dfab
#21D49E
#1BB184
#168D6A
#14664E
#0D4031
Base = 500Lightest = 50 · #F3FCF9Darkest = 950 · #0D4031
:root {
  --brand-50: #F3FCF9;
  --brand-100: #E7F8F3;
  --brand-200: #C9F3E6;
  --brand-300: #9EF0D7;
  --brand-400: #6DE8C4;
  --brand-500: #31dfab;
  --brand-600: #21D49E;
  --brand-700: #1BB184;
  --brand-800: #168D6A;
  --brand-900: #14664E;
  --brand-950: #0D4031;
  --brand: #31dfab;
  --brand-ink: #000000;
}

Colors that work with #31dfab

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#C0EDDF
Hairlines and dividers
Muted text#4B9B83
Captions on the surface
Accent#E42C91
Second voice, not a rival
Dark variant#116E53
Hover, pressed, headers
Light variant#E9FCF6
Selected rows, tints
Dark surface#14241F
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 #31dfab

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#DF3165
Analogous left#31DF54
Analogous right#31BCDF
Split-complement 1#DF31BC
Split-complement 2#DF5431
Triadic 1#AB31DF
Triadic 2#DFAB31
Tetradic#5431DF

RGB percentages

Red19.2%
Green87.5%
Blue67.1%

CMYK percentages

Cyan78.0%
Magenta0.0%
Yellow23.3%
Key (black)12.5%

Color previews

#31dfab text on a black background

contrast 12.27:1

Card sample

#31dfab text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #31dfab;
Background color
Panel with #31dfab background
background-color: #31dfab;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(49, 223, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(49, 223, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #31dfab;
background: linear-gradient(135deg, #31dfab, #319FDF);

Monochromatic scale

Palettes built from #31dfab

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.

#31dfab 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.

#31dfab, answered

What color is #31dfab?

#31dfab is a balanced vivid cyan, closest to Medium Aqua Marine (ΔE2000 6.2). It sits at 162° on the hue wheel with 73% saturation and 53% lightness, which reads as cool.

What is the RGB value of #31dfab?

rgb(49, 223, 171) — 49 red, 223 green and 171 blue out of 255, or 19.2% / 87.5% / 67.1% by channel.

Is #31dfab a light or a dark color?

It is a light color. Relative luminance is 0.5637 and perceived brightness is 71%, so black text on it reaches 12.27:1.

Should I use black or white text on #31dfab?

Black. It scores 12.27:1 against #31dfab, versus 1.71:1 for white — AAA at any size.

What is the complementary color of #31dfab?

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

What colors go well with #31dfab?

For interface work: #F4FAF9 as the surface, #C0EDDF for borders, #4B9B83 for secondary text, #E42C91 as an accent and #116E53 for hover and pressed states. For a palette, the analogous pair #31DF54 and #31BCDF stays calm, while #DF3165 is the loudest partner.

What is #31dfab in CMYK for printing?

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

Is #31dfab warm or cool?

Cool — it scores 80 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #31DF6B; nudged cooler, #2ED5E1.

Work with #31dfab in the Color Lab