Skip to content

#5df187

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

RGB
93, 241, 135
HSL
137°, 84%, 66%
CMYK
61, 0, 44, 6
Luminance
0.6699

At a glance

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

Hex
#5df187
Hue
137°
green
Saturation
84%
electric
Lightness
66%
light
Brightness
95%
HSV value
Perceived
77%
weighted brightness
Luminance
0.6699
WCAG relative
Temperature
Cool
70/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.40:1
Closest name
Spring Green
ΔE2000 4.1
Where it sits
Hue137° of 360°
Saturation84%
Lightness66%
Temperature
Warm ← → Cool70% 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#5df187
RGBrgb(93, 241, 135)
HSLhsl(137, 84%, 66%)
CMYKcmyk(61%, 0%, 44%, 6%)
LABlab(85.5 -61.7 39.7)
LCHlch(85.5 73.4 147.3)
OKLCHoklch(0.854 0.193 149.7)
Decimal6156679
Display P3color(display-p3 0.365 0.945 0.529)

Copy-ready code

/* CSS */
color: #5df187;
background-color: #5df187;
/* Tailwind (arbitrary) */
class="text-[#5df187] bg-[#5df187]"
/* SCSS */
$brand: #5df187;
/* SwiftUI */
Color(red: 0.365, green: 0.945, blue: 0.529)
/* Android */
Color.parseColor("#5df187")
/* Flutter */
Color(0xFF5DF187)
/* Python / OpenCV (BGR) */
(135, 241, 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 #5df187 · 14.40:1
Use #000000AAA at every size.
Aa
White text · 1.46:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.40:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #5df187 as text scores 1.46:1 on white and 14.40:1 on black.

Accessibility — WCAG contrast

Aa
#5df187 on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#5df187 on black: 14.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F3DE7F
deuteranopia · #E0D08E
tritanopia · #2DEDD7

Color scale — 50 to 950

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

#F2FCF5
#E6FAEB
#C5F6D3
#98F6B2
#5df187
#30ED66
#13E14E
#10BC41
#0D9634
#0E6D29
#094419
Base = 400Lightest = 50 · #F2FCF5Darkest = 950 · #094419
:root {
  --brand-50: #F2FCF5;
  --brand-100: #E6FAEB;
  --brand-200: #C5F6D3;
  --brand-300: #98F6B2;
  --brand-400: #5df187;
  --brand-500: #30ED66;
  --brand-600: #13E14E;
  --brand-700: #10BC41;
  --brand-800: #0D9634;
  --brand-900: #0E6D29;
  --brand-950: #094419;
  --brand: #5df187;
  --brand-ink: #000000;
}

Colors that work with #5df187

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#F4FAF6
Tinted page background
Border#C0EDCC
Hairlines and dividers
Muted text#4B9B61
Captions on the surface
Accent#C00CB9
Second voice, not a rival
Dark variant#0A7529
Hover, pressed, headers
Light variant#E8FDEE
Selected rows, tints
Dark surface#142418
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 #5df187

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#F15DC7
Analogous left#7DF15D
Analogous right#5DF1D1
Split-complement 1#D15DF1
Split-complement 2#F15D7D
Triadic 1#875DF1
Triadic 2#F1875D
Tetradic#5D7DF1

RGB percentages

Red36.5%
Green94.5%
Blue52.9%

CMYK percentages

Cyan61.4%
Magenta0.0%
Yellow44.0%
Key (black)5.5%

Color previews

#5df187 text on a black background

contrast 14.40:1

Card sample

#5df187 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5df187

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.

#5df187 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.

#5df187, answered

What color is #5df187?

#5df187 is a light electric green, closest to Spring Green (ΔE2000 4.1). It sits at 137° on the hue wheel with 84% saturation and 66% lightness, which reads as cool.

What is the RGB value of #5df187?

rgb(93, 241, 135) — 93 red, 241 green and 135 blue out of 255, or 36.5% / 94.5% / 52.9% by channel.

Is #5df187 a light or a dark color?

It is a light color. Relative luminance is 0.6699 and perceived brightness is 77%, so black text on it reaches 14.40:1.

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

Black. It scores 14.40:1 against #5df187, versus 1.46:1 for white — AAA at any size.

What is the complementary color of #5df187?

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

What colors go well with #5df187?

For interface work: #F4FAF6 as the surface, #C0EDCC for borders, #4B9B61 for secondary text, #C00CB9 as an accent and #0A7529 for hover and pressed states. For a palette, the analogous pair #7DF15D and #5DF1D1 stays calm, while #F15DC7 is the loudest partner.

What is #5df187 in CMYK for printing?

cmyk(61%, 0%, 44%, 6%). 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 #5df187 warm or cool?

Cool — it scores 70 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #69F15D; nudged cooler, #5BF3BE.

Work with #5df187 in the Color Lab