Skip to content

#8df52f

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

RGB
141, 245, 47
HSL
92°, 91%, 57%
CMYK
42, 0, 81, 4
Luminance
0.7117

At a glance

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

Hex
#8df52f
Hue
92°
green
Saturation
91%
electric
Lightness
57%
balanced
Brightness
96%
HSV value
Perceived
80%
weighted brightness
Luminance
0.7117
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.23:1
Closest name
Lawn Green
ΔE2000 2.3
Where it sits
Hue92° of 360°
Saturation91%
Lightness57%
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#8df52f
RGBrgb(141, 245, 47)
HSLhsl(92, 91%, 57%)
CMYKcmyk(42%, 0%, 81%, 4%)
LABlab(87.6 -59.2 77.4)
LCHlch(87.6 97.4 127.4)
OKLCHoklch(0.873 0.238 134.4)
Decimal9303343
Display P3color(display-p3 0.553 0.961 0.184)

Copy-ready code

/* CSS */
color: #8df52f;
background-color: #8df52f;
/* Tailwind (arbitrary) */
class="text-[#8df52f] bg-[#8df52f]"
/* SCSS */
$brand: #8df52f;
/* SwiftUI */
Color(red: 0.553, green: 0.961, blue: 0.184)
/* Android */
Color.parseColor("#8df52f")
/* Flutter */
Color(0xFF8DF52F)
/* Python / OpenCV (BGR) */
(47, 245, 141)

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

Accessibility — WCAG contrast

Aa
#8df52f on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#8df52f on black: 15.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE100
deuteranopia · #F1D847
tritanopia · #8BEBD2

Color scale — 50 to 950

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

#F7FDF2
#EFFBE5
#DDF9C3
#C4FA94
#A7F75E
#8df52f
#75EA0B
#61C309
#4E9C08
#3B700A
#254606
Base = 500Lightest = 50 · #F7FDF2Darkest = 950 · #254606
:root {
  --brand-50: #F7FDF2;
  --brand-100: #EFFBE5;
  --brand-200: #DDF9C3;
  --brand-300: #C4FA94;
  --brand-400: #A7F75E;
  --brand-500: #8df52f;
  --brand-600: #75EA0B;
  --brand-700: #61C309;
  --brand-800: #4E9C08;
  --brand-900: #3B700A;
  --brand-950: #254606;
  --brand: #8df52f;
  --brand-ink: #000000;
}

Colors that work with #8df52f

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#642BF9
Second voice, not a rival
Dark variant#3D7A06
Hover, pressed, headers
Light variant#F2FEE7
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 #8df52f

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#972FF5
Analogous left#F0F52F
Analogous right#2FF534
Split-complement 1#342FF5
Split-complement 2#F52FF0
Triadic 1#2F8DF5
Triadic 2#F52F8D
Tetradic#2FF0F5

RGB percentages

Red55.3%
Green96.1%
Blue18.4%

CMYK percentages

Cyan42.4%
Magenta0.0%
Yellow80.8%
Key (black)3.9%

Color previews

#8df52f text on a black background

contrast 15.23:1

Card sample

#8df52f text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8df52f;
Background color
Panel with #8df52f background
background-color: #8df52f;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(141, 245, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(141, 245, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8df52f;
background: linear-gradient(135deg, #8df52f, #2FF555);

Monochromatic scale

Palettes built from #8df52f

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.

#8df52f 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.

#8df52f, answered

What color is #8df52f?

#8df52f is a balanced electric green, closest to Lawn Green (ΔE2000 2.3). It sits at 92° on the hue wheel with 91% saturation and 57% lightness, which reads as neutral.

What is the RGB value of #8df52f?

rgb(141, 245, 47) — 141 red, 245 green and 47 blue out of 255, or 55.3% / 96.1% / 18.4% by channel.

Is #8df52f a light or a dark color?

It is a light color. Relative luminance is 0.7117 and perceived brightness is 80%, so black text on it reaches 15.23:1.

Should I use black or white text on #8df52f?

Black. It scores 15.23:1 against #8df52f, versus 1.38:1 for white — AAA at any size.

What is the complementary color of #8df52f?

#972FF5 sits directly opposite on the wheel. Softer options are the split-complements #342FF5 and #F52FF0, which give the same contrast with far less vibration.

What colors go well with #8df52f?

For interface work: #F7FAF4 as the surface, #D5EDC0 for borders, #719B4B for secondary text, #642BF9 as an accent and #3D7A06 for hover and pressed states. For a palette, the analogous pair #F0F52F and #2FF534 stays calm, while #972FF5 is the loudest partner.

What is #8df52f in CMYK for printing?

cmyk(42%, 0%, 81%, 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 #8df52f 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 #D6F52F; nudged cooler, #43F72D.

Work with #8df52f in the Color Lab