Skip to content

#9df50f

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

RGB
157, 245, 15
HSL
83°, 92%, 51%
CMYK
36, 0, 94, 4
Luminance
0.7251

At a glance

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

Hex
#9df50f
Hue
83°
green
Saturation
92%
electric
Lightness
51%
balanced
Brightness
96%
HSV value
Perceived
81%
weighted brightness
Luminance
0.7251
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.50:1
Closest name
Green Yellow
ΔE2000 2.4
Where it sits
Hue83° of 360°
Saturation92%
Lightness51%
Temperature
Warm ← → Cool44% 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#9df50f
RGBrgb(157, 245, 15)
HSLhsl(83, 92%, 51%)
CMYKcmyk(36%, 0%, 94%, 4%)
LABlab(88.2 -54.8 83.8)
LCHlch(88.2 100.1 123.2)
OKLCHoklch(0.880 0.238 131.1)
Decimal10351887
Display P3color(display-p3 0.616 0.961 0.059)

Copy-ready code

/* CSS */
color: #9df50f;
background-color: #9df50f;
/* Tailwind (arbitrary) */
class="text-[#9df50f] bg-[#9df50f]"
/* SCSS */
$brand: #9df50f;
/* SwiftUI */
Color(red: 0.616, green: 0.961, blue: 0.059)
/* Android */
Color.parseColor("#9df50f")
/* Flutter */
Color(0xFF9DF50F)
/* Python / OpenCV (BGR) */
(15, 245, 157)

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

Accessibility — WCAG contrast

Aa
#9df50f on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#9df50f on black: 15.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE200
deuteranopia · #F4DB38
tritanopia · #A0EAD1

Color scale — 50 to 950

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

#F9FDF2
#F2FBE4
#E4F9C3
#D3FB93
#BDF85D
#A7F628
#9df50f
#7CC408
#639D07
#497109
#2E4706
Base = 600Lightest = 50 · #F9FDF2Darkest = 950 · #2E4706
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F2FBE4;
  --brand-200: #E4F9C3;
  --brand-300: #D3FB93;
  --brand-400: #BDF85D;
  --brand-500: #A7F628;
  --brand-600: #9df50f;
  --brand-700: #7CC408;
  --brand-800: #639D07;
  --brand-900: #497109;
  --brand-950: #2E4706;
  --brand: #9df50f;
  --brand-ink: #000000;
}

Colors that work with #9df50f

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#F8FAF4
Tinted page background
Border#DBEDC0
Hairlines and dividers
Muted text#7C9B4B
Captions on the surface
Accent#2A0AFA
Second voice, not a rival
Dark variant#4D7A05
Hover, pressed, headers
Light variant#F5FEE7
Selected rows, tints
Dark surface#1E2414
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 #9df50f

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#670FF5
Analogous left#F5DA0F
Analogous right#2AF50F
Split-complement 1#0F2AF5
Split-complement 2#DA0FF5
Triadic 1#0F9DF5
Triadic 2#F50F9D
Tetradic#0FF5DA

RGB percentages

Red61.6%
Green96.1%
Blue5.9%

CMYK percentages

Cyan35.9%
Magenta0.0%
Yellow93.9%
Key (black)3.9%

Color previews

#9df50f text on a black background

contrast 15.50:1

Card sample

#9df50f text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9df50f;
Background color
Panel with #9df50f background
background-color: #9df50f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9df50f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(157, 245, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 245, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9df50f;
background: linear-gradient(135deg, #9df50f, #0FF51B);

Monochromatic scale

Palettes built from #9df50f

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.

#9df50f 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.

#9df50f, answered

What color is #9df50f?

#9df50f is a balanced electric green, closest to Green Yellow (ΔE2000 2.4). It sits at 83° on the hue wheel with 92% saturation and 51% lightness, which reads as neutral.

What is the RGB value of #9df50f?

rgb(157, 245, 15) — 157 red, 245 green and 15 blue out of 255, or 61.6% / 96.1% / 5.9% by channel.

Is #9df50f a light or a dark color?

It is a light color. Relative luminance is 0.7251 and perceived brightness is 81%, so black text on it reaches 15.50:1.

Should I use black or white text on #9df50f?

Black. It scores 15.50:1 against #9df50f, versus 1.35:1 for white — AAA at any size.

What is the complementary color of #9df50f?

#670FF5 sits directly opposite on the wheel. Softer options are the split-complements #0F2AF5 and #DA0FF5, which give the same contrast with far less vibration.

What colors go well with #9df50f?

For interface work: #F8FAF4 as the surface, #DBEDC0 for borders, #7C9B4B for secondary text, #2A0AFA as an accent and #4D7A05 for hover and pressed states. For a palette, the analogous pair #F5DA0F and #2AF50F stays calm, while #670FF5 is the loudest partner.

What is #9df50f in CMYK for printing?

cmyk(36%, 0%, 94%, 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 #9df50f warm or cool?

Neutral — it scores 44 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F1F50F; nudged cooler, #47F80D.

Work with #9df50f in the Color Lab