Skip to content

#5df80f

a balanced, electric green · neutral · closest name: Lawn Green

RGB
93, 248, 15
HSL
100°, 94%, 52%
CMYK
63, 0, 94, 3
Luminance
0.6950

At a glance

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

Hex
#5df80f
Hue
100°
green
Saturation
94%
electric
Lightness
52%
balanced
Brightness
97%
HSV value
Perceived
77%
weighted brightness
Luminance
0.6950
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.90:1
Closest name
Lawn Green
ΔE2000 2.6
Where it sits
Hue100° of 360°
Saturation94%
Lightness52%
Temperature
Warm ← → Cool54% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#5df80f
RGBrgb(93, 248, 15)
HSLhsl(100, 94%, 52%)
CMYKcmyk(63%, 0%, 94%, 3%)
LABlab(86.8 -74.0 81.7)
LCHlch(86.8 110.2 132.2)
OKLCHoklch(0.862 0.270 139.2)
Decimal6158351
Display P3color(display-p3 0.365 0.973 0.059)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5df80f on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#5df80f on black: 14.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE100
deuteranopia · #EDD53B
tritanopia · #48EFD3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #5df80f is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5FDF2
#ECFBE4
#D5FAC2
#B5FC92
#91FA5B
#6CF925
#5df80f
#46C606
#389F05
#2C7208
#1B4705
Base = 600Lightest = 50 · #F5FDF2Darkest = 950 · #1B4705
:root {
  --brand-50: #F5FDF2;
  --brand-100: #ECFBE4;
  --brand-200: #D5FAC2;
  --brand-300: #B5FC92;
  --brand-400: #91FA5B;
  --brand-500: #6CF925;
  --brand-600: #5df80f;
  --brand-700: #46C606;
  --brand-800: #389F05;
  --brand-900: #2C7208;
  --brand-950: #1B4705;
  --brand: #5df80f;
  --brand-ink: #000000;
}

Colors that work with #5df80f

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#F6FAF4
Tinted page background
Border#CFEDC0
Hairlines and dividers
Muted text#659B4B
Captions on the surface
Accent#6F0AFD
Second voice, not a rival
Dark variant#2C7C04
Hover, pressed, headers
Light variant#EEFEE6
Selected rows, tints
Dark surface#192414
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 #5df80f

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#AA0FF8
Analogous left#D2F80F
Analogous right#0FF836
Split-complement 1#360FF8
Split-complement 2#F80FD2
Triadic 1#0F5DF8
Triadic 2#F80F5D
Tetradic#0FD2F8

RGB percentages

Red36.5%
Green97.3%
Blue5.9%

CMYK percentages

Cyan62.5%
Magenta0.0%
Yellow94.0%
Key (black)2.7%

Color previews

#5df80f text on a black background

contrast 14.90:1

Card sample

#5df80f text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5df80f

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.

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

#5df80f, answered

What color is #5df80f?

#5df80f is a balanced electric green, closest to Lawn Green (ΔE2000 2.6). It sits at 100° on the hue wheel with 94% saturation and 52% lightness, which reads as neutral.

What is the RGB value of #5df80f?

rgb(93, 248, 15) — 93 red, 248 green and 15 blue out of 255, or 36.5% / 97.3% / 5.9% by channel.

Is #5df80f a light or a dark color?

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

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

Black. It scores 14.90:1 against #5df80f, versus 1.41:1 for white — AAA at any size.

What is the complementary color of #5df80f?

#AA0FF8 sits directly opposite on the wheel. Softer options are the split-complements #360FF8 and #F80FD2, which give the same contrast with far less vibration.

What colors go well with #5df80f?

For interface work: #F6FAF4 as the surface, #CFEDC0 for borders, #659B4B for secondary text, #6F0AFD as an accent and #2C7C04 for hover and pressed states. For a palette, the analogous pair #D2F80F and #0FF836 stays calm, while #AA0FF8 is the loudest partner.

What is #5df80f in CMYK for printing?

cmyk(63%, 0%, 94%, 3%). 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 #5df80f warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B3F80F; nudged cooler, #0DFA14.

Work with #5df80f in the Color Lab