Skip to content

#5fef9b

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

RGB
95, 239, 155
HSL
145°, 82%, 66%
CMYK
60, 0, 35, 6
Luminance
0.6653

At a glance

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

Hex
#5fef9b
Hue
145°
green
Saturation
82%
electric
Lightness
66%
light
Brightness
94%
HSV value
Perceived
77%
weighted brightness
Luminance
0.6653
WCAG relative
Temperature
Cool
73/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.31:1
Closest name
Medium Spring Green
ΔE2000 3.7
Where it sits
Hue145° of 360°
Saturation82%
Lightness66%
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#5fef9b
RGBrgb(95, 239, 155)
HSLhsl(145, 82%, 66%)
CMYKcmyk(60%, 0%, 35%, 6%)
LABlab(85.3 -57.2 29.4)
LCHlch(85.3 64.3 152.8)
OKLCHoklch(0.853 0.172 154.5)
Decimal6287259
Display P3color(display-p3 0.373 0.937 0.608)

Copy-ready code

/* CSS */
color: #5fef9b;
background-color: #5fef9b;
/* Tailwind (arbitrary) */
class="text-[#5fef9b] bg-[#5fef9b]"
/* SCSS */
$brand: #5fef9b;
/* SwiftUI */
Color(red: 0.373, green: 0.937, blue: 0.608)
/* Android */
Color.parseColor("#5fef9b")
/* Flutter */
Color(0xFF5FEF9B)
/* Python / OpenCV (BGR) */
(155, 239, 95)

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

Accessibility — WCAG contrast

Aa
#5fef9b on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#5fef9b on black: 14.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EEDD96
deuteranopia · #DBD0A0
tritanopia · #25EDD9

Color scale — 50 to 950

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

#F2FCF7
#E6F9EE
#C6F6DA
#99F5BF
#5fef9b
#33EB80
#16DF6A
#13B958
#0F9446
#0F6B36
#094321
Base = 400Lightest = 50 · #F2FCF7Darkest = 950 · #094321
:root {
  --brand-50: #F2FCF7;
  --brand-100: #E6F9EE;
  --brand-200: #C6F6DA;
  --brand-300: #99F5BF;
  --brand-400: #5fef9b;
  --brand-500: #33EB80;
  --brand-600: #16DF6A;
  --brand-700: #13B958;
  --brand-800: #0F9446;
  --brand-900: #0F6B36;
  --brand-950: #094321;
  --brand: #5fef9b;
  --brand-ink: #000000;
}

Colors that work with #5fef9b

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#4B9B6C
Captions on the surface
Accent#BE0EA0
Second voice, not a rival
Dark variant#0C7437
Hover, pressed, headers
Light variant#E8FDF1
Selected rows, tints
Dark surface#14241B
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 #5fef9b

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#EF5FB3
Analogous left#6BEF5F
Analogous right#5FEFE3
Split-complement 1#E35FEF
Split-complement 2#EF5F6B
Triadic 1#9B5FEF
Triadic 2#EF9B5F
Tetradic#5F6BEF

RGB percentages

Red37.3%
Green93.7%
Blue60.8%

CMYK percentages

Cyan60.3%
Magenta0.0%
Yellow35.1%
Key (black)6.3%

Color previews

#5fef9b text on a black background

contrast 14.31:1

Card sample

#5fef9b text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(95, 239, 155, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 239, 155, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5fef9b;
background: linear-gradient(135deg, #5fef9b, #5FE3EF);

Monochromatic scale

Palettes built from #5fef9b

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.

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

#5fef9b, answered

What color is #5fef9b?

#5fef9b is a light electric green, closest to Medium Spring Green (ΔE2000 3.7). It sits at 145° on the hue wheel with 82% saturation and 66% lightness, which reads as cool.

What is the RGB value of #5fef9b?

rgb(95, 239, 155) — 95 red, 239 green and 155 blue out of 255, or 37.3% / 93.7% / 60.8% by channel.

Is #5fef9b a light or a dark color?

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

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

Black. It scores 14.31:1 against #5fef9b, versus 1.47:1 for white — AAA at any size.

What is the complementary color of #5fef9b?

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

What colors go well with #5fef9b?

For interface work: #F4FAF7 as the surface, #C0EDD2 for borders, #4B9B6C for secondary text, #BE0EA0 as an accent and #0C7437 for hover and pressed states. For a palette, the analogous pair #6BEF5F and #5FEFE3 stays calm, while #EF5FB3 is the loudest partner.

What is #5fef9b in CMYK for printing?

cmyk(60%, 0%, 35%, 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 #5fef9b 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 #5FEF66; nudged cooler, #5DF1D1.

Work with #5fef9b in the Color Lab