Skip to content

#5afeb7

a light, electric green · cool · closest name: Medium Spring Green

RGB
90, 254, 183
HSL
154°, 99%, 68%
CMYK
65, 0, 28, 0
Luminance
0.7648

At a glance

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

Hex
#5afeb7
Hue
154°
green
Saturation
99%
electric
Lightness
68%
light
Brightness
100%
HSV value
Perceived
82%
weighted brightness
Luminance
0.7648
WCAG relative
Temperature
Cool
77/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.30:1
Closest name
Medium Spring Green
ΔE2000 4.7
Where it sits
Hue154° of 360°
Saturation99%
Lightness68%
Temperature
Warm ← → Cool77% 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#5afeb7
RGBrgb(90, 254, 183)
HSLhsl(154, 99%, 68%)
CMYKcmyk(65%, 0%, 28%, 0%)
LABlab(90.1 -58.5 21.7)
LCHlch(90.1 62.4 159.7)
OKLCHoklch(0.894 0.169 161.0)
Decimal5963447
Display P3color(display-p3 0.353 0.996 0.718)

Copy-ready code

/* CSS */
color: #5afeb7;
background-color: #5afeb7;
/* Tailwind (arbitrary) */
class="text-[#5afeb7] bg-[#5afeb7]"
/* SCSS */
$brand: #5afeb7;
/* SwiftUI */
Color(red: 0.353, green: 0.996, blue: 0.718)
/* Android */
Color.parseColor("#5afeb7")
/* Flutter */
Color(0xFF5AFEB7)
/* Python / OpenCV (BGR) */
(183, 254, 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 #5afeb7 · 16.30:1
Use #000000AAA at every size.
Aa
White text · 1.29:1
AA fail · AA large fail · AAA fail
Aa
Black text · 16.30:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #5afeb7 as text scores 1.29:1 on white and 16.30:1 on black.

Accessibility — WCAG contrast

Aa
#5afeb7 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#5afeb7 on black: 16.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBECB3
deuteranopia · #E5DCBC
tritanopia · #00FDEB

Color scale — 50 to 950

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

#F1FEF8
#E3FCF1
#C0FBE2
#8FFECE
#5afeb7
#20FE9E
#01F38B
#01CB73
#01A25C
#067545
#03492B
Base = 400Lightest = 50 · #F1FEF8Darkest = 950 · #03492B
:root {
  --brand-50: #F1FEF8;
  --brand-100: #E3FCF1;
  --brand-200: #C0FBE2;
  --brand-300: #8FFECE;
  --brand-400: #5afeb7;
  --brand-500: #20FE9E;
  --brand-600: #01F38B;
  --brand-700: #01CB73;
  --brand-800: #01A25C;
  --brand-900: #067545;
  --brand-950: #03492B;
  --brand: #5afeb7;
  --brand-ink: #000000;
}

Colors that work with #5afeb7

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#C0EDD9
Hairlines and dividers
Muted text#4B9B78
Captions on the surface
Accent#CC008C
Second voice, not a rival
Dark variant#017F48
Hover, pressed, headers
Light variant#E6FFF4
Selected rows, tints
Dark surface#14241D
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 #5afeb7

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
  • 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#FE5AA1
Analogous left#5AFE65
Analogous right#5AF3FE
Split-complement 1#FE5AF3
Split-complement 2#FE655A
Triadic 1#B75AFE
Triadic 2#FEB75A
Tetradic#655AFE

RGB percentages

Red35.3%
Green99.6%
Blue71.8%

CMYK percentages

Cyan64.6%
Magenta0.0%
Yellow28.0%
Key (black)0.4%

Color previews

#5afeb7 text on a black background

contrast 16.30:1

Card sample

#5afeb7 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5afeb7

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.

#5afeb7 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

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

#5afeb7, answered

What color is #5afeb7?

#5afeb7 is a light electric green, closest to Medium Spring Green (ΔE2000 4.7). It sits at 154° on the hue wheel with 99% saturation and 68% lightness, which reads as cool.

What is the RGB value of #5afeb7?

rgb(90, 254, 183) — 90 red, 254 green and 183 blue out of 255, or 35.3% / 99.6% / 71.8% by channel.

Is #5afeb7 a light or a dark color?

It is a light color. Relative luminance is 0.7648 and perceived brightness is 82%, so black text on it reaches 16.30:1.

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

Black. It scores 16.30:1 against #5afeb7, versus 1.29:1 for white — AAA at any size.

What is the complementary color of #5afeb7?

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

What colors go well with #5afeb7?

For interface work: #F4FAF8 as the surface, #C0EDD9 for borders, #4B9B78 for secondary text, #CC008C as an accent and #017F48 for hover and pressed states. For a palette, the analogous pair #5AFE65 and #5AF3FE stays calm, while #FE5AA1 is the loudest partner.

What is #5afeb7 in CMYK for printing?

cmyk(65%, 0%, 28%, 0%). 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 #5afeb7 warm or cool?

Cool — it scores 77 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5AFE7B; nudged cooler, #59FFF4.

Work with #5afeb7 in the Color Lab