Skip to content

#5df907

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

RGB
93, 249, 7
HSL
99°, 95%, 50%
CMYK
63, 0, 97, 2
Luminance
0.7009

At a glance

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

Hex
#5df907
Hue
99°
green
Saturation
95%
electric
Lightness
50%
balanced
Brightness
98%
HSV value
Perceived
77%
weighted brightness
Luminance
0.7009
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.02:1
Closest name
Lawn Green
ΔE2000 2.5
Where it sits
Hue99° of 360°
Saturation95%
Lightness50%
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#5df907
RGBrgb(93, 249, 7)
HSLhsl(99, 95%, 50%)
CMYKcmyk(63%, 0%, 97%, 2%)
LABlab(87.0 -74.4 82.6)
LCHlch(87.0 111.2 132.0)
OKLCHoklch(0.864 0.272 139.1)
Decimal6158599
Display P3color(display-p3 0.365 0.976 0.027)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5df907 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#5df907 on black: 15.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE200
deuteranopia · #EED539
tritanopia · #48F0D4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #5df907 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
#ECFCE4
#D6FAC2
#B7FC91
#94FB5B
#70FA24
#5df907
#4AC705
#3B9F04
#2E7308
#1D4805
Base = 600Lightest = 50 · #F6FDF1Darkest = 950 · #1D4805
:root {
  --brand-50: #F6FDF1;
  --brand-100: #ECFCE4;
  --brand-200: #D6FAC2;
  --brand-300: #B7FC91;
  --brand-400: #94FB5B;
  --brand-500: #70FA24;
  --brand-600: #5df907;
  --brand-700: #4AC705;
  --brand-800: #3B9F04;
  --brand-900: #2E7308;
  --brand-950: #1D4805;
  --brand: #5df907;
  --brand-ink: #000000;
}

Colors that work with #5df907

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#D0EDC0
Hairlines and dividers
Muted text#679B4B
Captions on the surface
Accent#6602FE
Second voice, not a rival
Dark variant#2E7D03
Hover, pressed, headers
Light variant#EFFEE6
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 #5df907

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#A307F9
Analogous left#D6F907
Analogous right#07F92A
Split-complement 1#2A07F9
Split-complement 2#F907D6
Triadic 1#075DF9
Triadic 2#F9075D
Tetradic#07D6F9

RGB percentages

Red36.5%
Green97.6%
Blue2.7%

CMYK percentages

Cyan62.7%
Magenta0.0%
Yellow97.2%
Key (black)2.4%

Color previews

#5df907 text on a black background

contrast 15.02:1

Card sample

#5df907 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(93, 249, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(93, 249, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5df907;
background: linear-gradient(135deg, #5df907, #07F952);

Monochromatic scale

Palettes built from #5df907

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.

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

#5df907, answered

What color is #5df907?

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

What is the RGB value of #5df907?

rgb(93, 249, 7) — 93 red, 249 green and 7 blue out of 255, or 36.5% / 97.6% / 2.7% by channel.

Is #5df907 a light or a dark color?

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

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

Black. It scores 15.02:1 against #5df907, versus 1.40:1 for white — AAA at any size.

What is the complementary color of #5df907?

#A307F9 sits directly opposite on the wheel. Softer options are the split-complements #2A07F9 and #F907D6, which give the same contrast with far less vibration.

What colors go well with #5df907?

For interface work: #F6FAF4 as the surface, #D0EDC0 for borders, #679B4B for secondary text, #6602FE as an accent and #2E7D03 for hover and pressed states. For a palette, the analogous pair #D6F907 and #07F92A stays calm, while #A307F9 is the loudest partner.

What is #5df907 in CMYK for printing?

cmyk(63%, 0%, 97%, 2%). 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 #5df907 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 #B6F907; nudged cooler, #04FC07.

Work with #5df907 in the Color Lab