Skip to content

#5dec97

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

RGB
93, 236, 151
HSL
144°, 79%, 65%
CMYK
61, 0, 36, 8
Luminance
0.6455

At a glance

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

Hex
#5dec97
Hue
144°
green
Saturation
79%
electric
Lightness
65%
balanced
Brightness
93%
HSV value
Perceived
76%
weighted brightness
Luminance
0.6455
WCAG relative
Temperature
Cool
73/100 cool
Color family
Green
Tone
Electric
Best ink
Black
13.91:1
Closest name
Medium Spring Green
ΔE2000 4.1
Where it sits
Hue144° of 360°
Saturation79%
Lightness65%
Temperature
Warm ← → Cool73% 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#5dec97
RGBrgb(93, 236, 151)
HSLhsl(144, 79%, 65%)
CMYKcmyk(61%, 0%, 36%, 8%)
LABlab(84.3 -57.1 30.1)
LCHlch(84.3 64.6 152.2)
OKLCHoklch(0.845 0.172 154.1)
Decimal6155415
Display P3color(display-p3 0.365 0.925 0.592)

Copy-ready code

/* CSS */
color: #5dec97;
background-color: #5dec97;
/* Tailwind (arbitrary) */
class="text-[#5dec97] bg-[#5dec97]"
/* SCSS */
$brand: #5dec97;
/* SwiftUI */
Color(red: 0.365, green: 0.925, blue: 0.592)
/* Android */
Color.parseColor("#5dec97")
/* Flutter */
Color(0xFF5DEC97)
/* Python / OpenCV (BGR) */
(151, 236, 93)

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

Accessibility — WCAG contrast

Aa
#5dec97 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#5dec97 on black: 13.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ECDA91
deuteranopia · #D9CD9C
tritanopia · #24E9D6

Color scale — 50 to 950

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

#F3FCF6
#E6F9EE
#C7F5D9
#9BF3BE
#5dec97
#36E77E
#1ADB68
#15B757
#119245
#116A35
#0A4221
Base = 400Lightest = 50 · #F3FCF6Darkest = 950 · #0A4221
:root {
  --brand-50: #F3FCF6;
  --brand-100: #E6F9EE;
  --brand-200: #C7F5D9;
  --brand-300: #9BF3BE;
  --brand-400: #5dec97;
  --brand-500: #36E77E;
  --brand-600: #1ADB68;
  --brand-700: #15B757;
  --brand-800: #119245;
  --brand-900: #116A35;
  --brand-950: #0A4221;
  --brand: #5dec97;
  --brand-ink: #000000;
}

Colors that work with #5dec97

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#F4FAF7
Tinted page background
Border#C0EDD2
Hairlines and dividers
Muted text#4B9B6B
Captions on the surface
Accent#BB11A0
Second voice, not a rival
Dark variant#0D7236
Hover, pressed, headers
Light variant#E8FCF0
Selected rows, tints
Dark surface#14241A
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 #5dec97

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
  • 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#EC5DB2
Analogous left#6BEC5D
Analogous right#5DECDE
Split-complement 1#DE5DEC
Split-complement 2#EC5D6B
Triadic 1#975DEC
Triadic 2#EC975D
Tetradic#5D6BEC

RGB percentages

Red36.5%
Green92.5%
Blue59.2%

CMYK percentages

Cyan60.6%
Magenta0.0%
Yellow36.0%
Key (black)7.5%

Color previews

#5dec97 text on a black background

contrast 13.91:1

Card sample

#5dec97 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(93, 236, 151, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(93, 236, 151, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5dec97;
background: linear-gradient(135deg, #5dec97, #5DE2EC);

Monochromatic scale

Palettes built from #5dec97

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.

#5dec97 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
ButtonsLinksFocus statesCharts
Print note

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

#5dec97, answered

What color is #5dec97?

#5dec97 is a balanced electric green, closest to Medium Spring Green (ΔE2000 4.1). It sits at 144° on the hue wheel with 79% saturation and 65% lightness, which reads as cool.

What is the RGB value of #5dec97?

rgb(93, 236, 151) — 93 red, 236 green and 151 blue out of 255, or 36.5% / 92.5% / 59.2% by channel.

Is #5dec97 a light or a dark color?

It is a light color. Relative luminance is 0.6455 and perceived brightness is 76%, so black text on it reaches 13.91:1.

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

Black. It scores 13.91:1 against #5dec97, versus 1.51:1 for white — AAA at any size.

What is the complementary color of #5dec97?

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

What colors go well with #5dec97?

For interface work: #F4FAF7 as the surface, #C0EDD2 for borders, #4B9B6B for secondary text, #BB11A0 as an accent and #0D7236 for hover and pressed states. For a palette, the analogous pair #6BEC5D and #5DECDE stays calm, while #EC5DB2 is the loudest partner.

What is #5dec97 in CMYK for printing?

cmyk(61%, 0%, 36%, 8%). 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 #5dec97 warm or cool?

Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5DEC62; nudged cooler, #5BEECC.

Work with #5dec97 in the Color Lab