Skip to content

#5df503

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

RGB
93, 245, 3
HSL
98°, 98%, 49%
CMYK
62, 0, 99, 4
Luminance
0.6764

At a glance

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

Hex
#5df503
Hue
98°
green
Saturation
98%
electric
Lightness
49%
balanced
Brightness
96%
HSV value
Perceived
76%
weighted brightness
Luminance
0.6764
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
Hue98° of 360°
Saturation98%
Lightness49%
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#5df503
RGBrgb(93, 245, 3)
HSLhsl(98, 98%, 49%)
CMYKcmyk(62%, 0%, 99%, 4%)
LABlab(85.8 -73.2 81.9)
LCHlch(85.8 109.9 131.8)
OKLCHoklch(0.854 0.268 138.9)
Decimal6157571
Display P3color(display-p3 0.365 0.961 0.012)

Copy-ready code

/* CSS */
color: #5df503;
background-color: #5df503;
/* Tailwind (arbitrary) */
class="text-[#5df503] bg-[#5df503]"
/* SCSS */
$brand: #5df503;
/* SwiftUI */
Color(red: 0.365, green: 0.961, blue: 0.012)
/* Android */
Color.parseColor("#5df503")
/* Flutter */
Color(0xFF5DF503)
/* Python / OpenCV (BGR) */
(3, 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 #5df503 · 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: #5df503 as text scores 1.45:1 on white and 14.53:1 on black.

Accessibility — WCAG contrast

Aa
#5df503 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#5df503 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. #5df503 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.

#F6FDF1
#EDFCE4
#D6FBC1
#B9FE90
#96FD59
#73FC21
#5df503
#4CCA02
#3DA102
#2F7406
#1D4904
Base = 600Lightest = 50 · #F6FDF1Darkest = 950 · #1D4904
:root {
  --brand-50: #F6FDF1;
  --brand-100: #EDFCE4;
  --brand-200: #D6FBC1;
  --brand-300: #B9FE90;
  --brand-400: #96FD59;
  --brand-500: #73FC21;
  --brand-600: #5df503;
  --brand-700: #4CCA02;
  --brand-800: #3DA102;
  --brand-900: #2F7406;
  --brand-950: #1D4904;
  --brand: #5df503;
  --brand-ink: #000000;
}

Colors that work with #5df503

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#D0EDC0
Hairlines and dividers
Muted text#689B4B
Captions on the surface
Accent#5E00F8
Second voice, not a rival
Dark variant#307E02
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 #5df503

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#9B03F5
Analogous left#D6F503
Analogous right#03F522
Split-complement 1#2203F5
Split-complement 2#F503D6
Triadic 1#035DF5
Triadic 2#F5035D
Tetradic#03D6F5

RGB percentages

Red36.5%
Green96.1%
Blue1.2%

CMYK percentages

Cyan62.0%
Magenta0.0%
Yellow98.8%
Key (black)3.9%

Color previews

#5df503 text on a black background

contrast 14.53:1

Card sample

#5df503 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5df503

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.

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

#5df503, answered

What color is #5df503?

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

What is the RGB value of #5df503?

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

Is #5df503 a light or a dark color?

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

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

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

What is the complementary color of #5df503?

#9B03F5 sits directly opposite on the wheel. Softer options are the split-complements #2203F5 and #F503D6, which give the same contrast with far less vibration.

What colors go well with #5df503?

For interface work: #F7FAF4 as the surface, #D0EDC0 for borders, #689B4B for secondary text, #5E00F8 as an accent and #307E02 for hover and pressed states. For a palette, the analogous pair #D6F503 and #03F522 stays calm, while #9B03F5 is the loudest partner.

What is #5df503 in CMYK for printing?

cmyk(62%, 0%, 99%, 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 #5df503 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 #B6F503; nudged cooler, #02F700.

Work with #5df503 in the Color Lab