Skip to content

#1ff7af

a balanced, electric cyan · cool · closest name: Medium Spring Green

RGB
31, 247, 175
HSL
160°, 93%, 55%
CMYK
87, 0, 29, 3
Luminance
0.6991

At a glance

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

Hex
#1ff7af
Hue
160°
cyan
Saturation
93%
electric
Lightness
55%
balanced
Brightness
97%
HSV value
Perceived
78%
weighted brightness
Luminance
0.6991
WCAG relative
Temperature
Cool
79/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
14.98:1
Closest name
Medium Spring Green
ΔE2000 4.1
Where it sits
Hue160° of 360°
Saturation93%
Lightness55%
Temperature
Warm ← → Cool79% 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#1ff7af
RGBrgb(31, 247, 175)
HSLhsl(160, 93%, 55%)
CMYKcmyk(87%, 0%, 29%, 3%)
LABlab(87.0 -64.3 21.3)
LCHlch(87.0 67.7 161.6)
OKLCHoklch(0.865 0.183 162.8)
Decimal2095023
Display P3color(display-p3 0.122 0.969 0.686)

Copy-ready code

/* CSS */
color: #1ff7af;
background-color: #1ff7af;
/* Tailwind (arbitrary) */
class="text-[#1ff7af] bg-[#1ff7af]"
/* SCSS */
$brand: #1ff7af;
/* SwiftUI */
Color(red: 0.122, green: 0.969, blue: 0.686)
/* Android */
Color.parseColor("#1ff7af")
/* Flutter */
Color(0xFF1FF7AF)
/* Python / OpenCV (BGR) */
(175, 247, 31)

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

Accessibility — WCAG contrast

Aa
#1ff7af on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#1ff7af on black: 14.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F3E4AB
deuteranopia · #DBD3B4
tritanopia · #00F7E4

Color scale — 50 to 950

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

#F2FDF9
#E4FBF4
#C2F9E7
#93FBD8
#5DF9C5
#1ff7af
#08ECA0
#07C586
#069E6B
#09724F
#054731
Base = 500Lightest = 50 · #F2FDF9Darkest = 950 · #054731
:root {
  --brand-50: #F2FDF9;
  --brand-100: #E4FBF4;
  --brand-200: #C2F9E7;
  --brand-300: #93FBD8;
  --brand-400: #5DF9C5;
  --brand-500: #1ff7af;
  --brand-600: #08ECA0;
  --brand-700: #07C586;
  --brand-800: #069E6B;
  --brand-900: #09724F;
  --brand-950: #054731;
  --brand: #1ff7af;
  --brand-ink: #000000;
}

Colors that work with #1ff7af

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#F4FAF8
Tinted page background
Border#C0EDDE
Hairlines and dividers
Muted text#4B9B80
Captions on the surface
Accent#FC1A9E
Second voice, not a rival
Dark variant#047B54
Hover, pressed, headers
Light variant#E6FEF6
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 #1ff7af

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#F71F67
Analogous left#1FF743
Analogous right#1FD3F7
Split-complement 1#F71FD3
Split-complement 2#F7431F
Triadic 1#AF1FF7
Triadic 2#F7AF1F
Tetradic#431FF7

RGB percentages

Red12.2%
Green96.9%
Blue68.6%

CMYK percentages

Cyan87.4%
Magenta0.0%
Yellow29.1%
Key (black)3.1%

Color previews

#1ff7af text on a black background

contrast 14.98:1

Card sample

#1ff7af text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1ff7af;
Background color
Panel with #1ff7af background
background-color: #1ff7af;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(31, 247, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(31, 247, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1ff7af;
background: linear-gradient(135deg, #1ff7af, #1FAFF7);

Monochromatic scale

Palettes built from #1ff7af

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.

#1ff7af 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.

#1ff7af, answered

What color is #1ff7af?

#1ff7af is a balanced electric cyan, closest to Medium Spring Green (ΔE2000 4.1). It sits at 160° on the hue wheel with 93% saturation and 55% lightness, which reads as cool.

What is the RGB value of #1ff7af?

rgb(31, 247, 175) — 31 red, 247 green and 175 blue out of 255, or 12.2% / 96.9% / 68.6% by channel.

Is #1ff7af a light or a dark color?

It is a light color. Relative luminance is 0.6991 and perceived brightness is 78%, so black text on it reaches 14.98:1.

Should I use black or white text on #1ff7af?

Black. It scores 14.98:1 against #1ff7af, versus 1.40:1 for white — AAA at any size.

What is the complementary color of #1ff7af?

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

What colors go well with #1ff7af?

For interface work: #F4FAF8 as the surface, #C0EDDE for borders, #4B9B80 for secondary text, #FC1A9E as an accent and #047B54 for hover and pressed states. For a palette, the analogous pair #1FF743 and #1FD3F7 stays calm, while #F71F67 is the loudest partner.

What is #1ff7af in CMYK for printing?

cmyk(87%, 0%, 29%, 3%). 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 #1ff7af warm or cool?

Cool — it scores 79 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1FF760; nudged cooler, #1DF2F9.

Work with #1ff7af in the Color Lab