Skip to content

#9df151

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

RGB
157, 241, 81
HSL
92°, 85%, 63%
CMYK
35, 0, 66, 6
Luminance
0.7067

At a glance

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

Hex
#9df151
Hue
92°
green
Saturation
85%
electric
Lightness
63%
balanced
Brightness
95%
HSV value
Perceived
81%
weighted brightness
Luminance
0.7067
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.13:1
Closest name
Green Yellow
ΔE2000 4.8
Where it sits
Hue92° of 360°
Saturation85%
Lightness63%
Temperature
Warm ← → Cool51% 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#9df151
RGBrgb(157, 241, 81)
HSLhsl(92, 85%, 63%)
CMYKcmyk(35%, 0%, 66%, 6%)
LABlab(87.3 -50.4 66.5)
LCHlch(87.3 83.4 127.2)
OKLCHoklch(0.874 0.207 133.0)
Decimal10350929
Display P3color(display-p3 0.616 0.945 0.318)

Copy-ready code

/* CSS */
color: #9df151;
background-color: #9df151;
/* Tailwind (arbitrary) */
class="text-[#9df151] bg-[#9df151]"
/* SCSS */
$brand: #9df151;
/* SwiftUI */
Color(red: 0.616, green: 0.945, blue: 0.318)
/* Android */
Color.parseColor("#9df151")
/* Flutter */
Color(0xFF9DF151)
/* Python / OpenCV (BGR) */
(81, 241, 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 #9df151 · 15.13:1
Use #000000AAA at every size.
Aa
White text · 1.39:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.13:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #9df151 as text scores 1.39:1 on white and 15.13:1 on black.

Accessibility — WCAG contrast

Aa
#9df151 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#9df151 on black: 15.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBDF3A
deuteranopia · #EFD85F
tritanopia · #9EE8D1

Color scale — 50 to 950

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

#F7FCF2
#EFFAE5
#DDF7C5
#C5F797
#9df151
#8AEE2F
#75E312
#62BD0F
#4E970C
#3B6D0D
#254408
Base = 400Lightest = 50 · #F7FCF2Darkest = 950 · #254408
:root {
  --brand-50: #F7FCF2;
  --brand-100: #EFFAE5;
  --brand-200: #DDF7C5;
  --brand-300: #C5F797;
  --brand-400: #9df151;
  --brand-500: #8AEE2F;
  --brand-600: #75E312;
  --brand-700: #62BD0F;
  --brand-800: #4E970C;
  --brand-900: #3B6D0D;
  --brand-950: #254408;
  --brand: #9df151;
  --brand-ink: #000000;
}

Colors that work with #9df151

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#D5EDC0
Hairlines and dividers
Muted text#719B4B
Captions on the surface
Accent#7B4DF5
Second voice, not a rival
Dark variant#3D7609
Hover, pressed, headers
Light variant#F2FDE7
Selected rows, tints
Dark surface#1C2414
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 #9df151

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#A551F1
Analogous left#EDF151
Analogous right#51F155
Split-complement 1#5551F1
Split-complement 2#F151ED
Triadic 1#519DF1
Triadic 2#F1519D
Tetradic#51EDF1

RGB percentages

Red61.6%
Green94.5%
Blue31.8%

CMYK percentages

Cyan34.9%
Magenta0.0%
Yellow66.4%
Key (black)5.5%

Color previews

#9df151 text on a black background

contrast 15.13:1

Card sample

#9df151 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 241, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 241, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9df151;
background: linear-gradient(135deg, #9df151, #51F170);

Monochromatic scale

Palettes built from #9df151

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.

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

#9df151, answered

What color is #9df151?

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

What is the RGB value of #9df151?

rgb(157, 241, 81) — 157 red, 241 green and 81 blue out of 255, or 61.6% / 94.5% / 31.8% by channel.

Is #9df151 a light or a dark color?

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

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

Black. It scores 15.13:1 against #9df151, versus 1.39:1 for white — AAA at any size.

What is the complementary color of #9df151?

#A551F1 sits directly opposite on the wheel. Softer options are the split-complements #5551F1 and #F151ED, which give the same contrast with far less vibration.

What colors go well with #9df151?

For interface work: #F7FAF4 as the surface, #D5EDC0 for borders, #719B4B for secondary text, #7B4DF5 as an accent and #3D7609 for hover and pressed states. For a palette, the analogous pair #EDF151 and #51F155 stays calm, while #A551F1 is the loudest partner.

What is #9df151 in CMYK for printing?

cmyk(35%, 0%, 66%, 6%). 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 #9df151 warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D8F151; nudged cooler, #61F34F.

Work with #9df151 in the Color Lab