Skip to content

#5df501

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

RGB
93, 245, 1
HSL
97°, 99%, 48%
CMYK
62, 0, 100, 4
Luminance
0.6763

At a glance

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

Hex
#5df501
Hue
97°
green
Saturation
99%
electric
Lightness
48%
balanced
Brightness
96%
HSV value
Perceived
76%
weighted brightness
Luminance
0.6763
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.53:1
Closest name
Lawn Green
ΔE2000 2.8
Where it sits
Hue97° of 360°
Saturation99%
Lightness48%
Temperature
Warm ← → Cool53% 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#5df501
RGBrgb(93, 245, 1)
HSLhsl(97, 99%, 48%)
CMYKcmyk(62%, 0%, 100%, 4%)
LABlab(85.8 -73.2 82.1)
LCHlch(85.8 110.0 131.7)
OKLCHoklch(0.854 0.269 138.9)
Decimal6157569
Display P3color(display-p3 0.365 0.961 0.004)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5df501 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#5df501 on black: 14.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FCDE00
deuteranopia · #EAD237
tritanopia · #49ECD0

Color scale — 50 to 950

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

#F6FEF1
#EDFCE3
#D7FBC0
#B9FF8F
#96FE57
#73FE1F
#5df501
#4DCB01
#3EA301
#2F7505
#1E4903
Base = 600Lightest = 50 · #F6FEF1Darkest = 950 · #1E4903
:root {
  --brand-50: #F6FEF1;
  --brand-100: #EDFCE3;
  --brand-200: #D7FBC0;
  --brand-300: #B9FF8F;
  --brand-400: #96FE57;
  --brand-500: #73FE1F;
  --brand-600: #5df501;
  --brand-700: #4DCB01;
  --brand-800: #3EA301;
  --brand-900: #2F7505;
  --brand-950: #1E4903;
  --brand: #5df501;
  --brand-ink: #000000;
}

Colors that work with #5df501

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#F7FAF4
Tinted page background
Border#D1EDC0
Hairlines and dividers
Muted text#699B4B
Captions on the surface
Accent#5C00F6
Second voice, not a rival
Dark variant#307F01
Hover, pressed, headers
Light variant#EFFFE6
Selected rows, tints
Dark surface#1A2414
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 #5df501

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#9901F5
Analogous left#D7F501
Analogous right#01F51F
Split-complement 1#1F01F5
Split-complement 2#F501D7
Triadic 1#015DF5
Triadic 2#F5015D
Tetradic#01D7F5

RGB percentages

Red36.5%
Green96.1%
Blue0.4%

CMYK percentages

Cyan62.0%
Magenta0.0%
Yellow99.6%
Key (black)3.9%

Color previews

#5df501 text on a black background

contrast 14.53:1

Card sample

#5df501 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5df501

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.

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

#5df501, answered

What color is #5df501?

#5df501 is a balanced electric green, closest to Lawn Green (ΔE2000 2.8). It sits at 97° on the hue wheel with 99% saturation and 48% lightness, which reads as neutral.

What is the RGB value of #5df501?

rgb(93, 245, 1) — 93 red, 245 green and 1 blue out of 255, or 36.5% / 96.1% / 0.4% by channel.

Is #5df501 a light or a dark color?

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

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

Black. It scores 14.53:1 against #5df501, versus 1.45:1 for white — AAA at any size.

What is the complementary color of #5df501?

#9901F5 sits directly opposite on the wheel. Softer options are the split-complements #1F01F5 and #F501D7, which give the same contrast with far less vibration.

What colors go well with #5df501?

For interface work: #F7FAF4 as the surface, #D1EDC0 for borders, #699B4B for secondary text, #5C00F6 as an accent and #307F01 for hover and pressed states. For a palette, the analogous pair #D7F501 and #01F51F stays calm, while #9901F5 is the loudest partner.

What is #5df501 in CMYK for printing?

cmyk(62%, 0%, 100%, 4%). 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 #5df501 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B6F501; nudged cooler, #02F600.

Work with #5df501 in the Color Lab