#5df187
a light, electric green · cool · closest name: Spring Green
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.
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 |
| RGB | rgb(93, 241, 135) |
| HSL | hsl(137, 84%, 66%) |
| CMYK | cmyk(61%, 0%, 44%, 6%) |
| LAB | lab(85.5 -61.7 39.7) |
| LCH | lch(85.5 73.4 147.3) |
| OKLCH | oklch(0.854 0.193 149.7) |
| Decimal | 6156679 |
| Display P3 | color(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.
Accessibility — WCAG contrast
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.
: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.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #5df187
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | Directly opposite — maximum tension | |
| Analogous left | #7DF15D | Neighbour, quieter | |
| Analogous right | #5DF1D1 | Neighbour, quieter | |
| Split-complement 1 | #D15DF1 | Contrast without the clash | |
| Split-complement 2 | #F15D7D | Contrast without the clash | |
| Triadic 1 | #875DF1 | Even thirds — balanced and loud | |
| Triadic 2 | #F1875D | Even thirds — balanced and loud | |
| Tetradic | #5D7DF1 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#5df187 text on a black background
contrast 14.40:1
#5df187 text on a white background
contrast 1.46:1
CSS3 live lab
The quick brown fox
color: #5df187;
background-color: #5df187;
Glowing headline
text-shadow: 2px 2px 8px #5df187;
Soft neon halo
text-shadow: 0 0 14px rgba(93, 241, 135, 0.45);
box-shadow: 0 12px 32px -8px rgba(93, 241, 135, 0.45);
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.
Closest color with a full write-up: Spring Green (#00ff7f) — ΔE2000 4.1 away, with its history, psychology and brand usage.
#5df187 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
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.