Skip to content

#8df45b

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

RGB
141, 244, 91
HSL
100°, 87%, 66%
CMYK
42, 0, 63, 4
Luminance
0.7112

At a glance

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

Hex
#8df45b
Hue
100°
green
Saturation
87%
electric
Lightness
66%
light
Brightness
96%
HSV value
Perceived
80%
weighted brightness
Luminance
0.7112
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.22:1
Closest name
Lawn Green
ΔE2000 5.1
Where it sits
Hue100° of 360°
Saturation87%
Lightness66%
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#8df45b
RGBrgb(141, 244, 91)
HSLhsl(100, 87%, 66%)
CMYKcmyk(42%, 0%, 63%, 4%)
LABlab(87.5 -56.0 62.5)
LCHlch(87.5 83.9 131.8)
OKLCHoklch(0.874 0.212 137.0)
Decimal9303131
Display P3color(display-p3 0.553 0.957 0.357)

Copy-ready code

/* CSS */
color: #8df45b;
background-color: #8df45b;
/* Tailwind (arbitrary) */
class="text-[#8df45b] bg-[#8df45b]"
/* SCSS */
$brand: #8df45b;
/* SwiftUI */
Color(red: 0.553, green: 0.957, blue: 0.357)
/* Android */
Color.parseColor("#8df45b")
/* Flutter */
Color(0xFF8DF45B)
/* Python / OpenCV (BGR) */
(91, 244, 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 #8df45b · 15.22:1
Use #000000AAA at every size.
Aa
White text · 1.38:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.22:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #8df45b as text scores 1.38:1 on white and 15.22:1 on black.

Accessibility — WCAG contrast

Aa
#8df45b on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#8df45b on black: 15.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FCE148
deuteranopia · #EED868
tritanopia · #88ECD4

Color scale — 50 to 950

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

#F6FDF2
#ECFAE5
#D5F8C4
#B6F896
#8df45b
#6DF12D
#55E50F
#47BF0D
#39990A
#2C6E0C
#1C4507
Base = 400Lightest = 50 · #F6FDF2Darkest = 950 · #1C4507
:root {
  --brand-50: #F6FDF2;
  --brand-100: #ECFAE5;
  --brand-200: #D5F8C4;
  --brand-300: #B6F896;
  --brand-400: #8df45b;
  --brand-500: #6DF12D;
  --brand-600: #55E50F;
  --brand-700: #47BF0D;
  --brand-800: #39990A;
  --brand-900: #2C6E0C;
  --brand-950: #1C4507;
  --brand: #8df45b;
  --brand-ink: #000000;
}

Colors that work with #8df45b

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#CEEDC0
Hairlines and dividers
Muted text#659B4B
Captions on the surface
Accent#9B58F7
Second voice, not a rival
Dark variant#2C7708
Hover, pressed, headers
Light variant#EEFDE7
Selected rows, tints
Dark surface#192414
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 #8df45b

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
  • Card and section backgrounds
  • 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
  • White text placed on it
  • 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#C25BF4
Analogous left#D9F45B
Analogous right#5BF476
Split-complement 1#765BF4
Split-complement 2#F45BD9
Triadic 1#5B8DF4
Triadic 2#F45B8D
Tetradic#5BD9F4

RGB percentages

Red55.3%
Green95.7%
Blue35.7%

CMYK percentages

Cyan42.2%
Magenta0.0%
Yellow62.7%
Key (black)4.3%

Color previews

#8df45b text on a black background

contrast 15.22:1

Card sample

#8df45b text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(141, 244, 91, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(141, 244, 91, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8df45b;
background: linear-gradient(135deg, #8df45b, #5BF48F);

Monochromatic scale

Palettes built from #8df45b

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.

#8df45b 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#8df45b, answered

What color is #8df45b?

#8df45b is a light electric green, closest to Lawn Green (ΔE2000 5.1). It sits at 100° on the hue wheel with 87% saturation and 66% lightness, which reads as neutral.

What is the RGB value of #8df45b?

rgb(141, 244, 91) — 141 red, 244 green and 91 blue out of 255, or 55.3% / 95.7% / 35.7% by channel.

Is #8df45b a light or a dark color?

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

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

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

What is the complementary color of #8df45b?

#C25BF4 sits directly opposite on the wheel. Softer options are the split-complements #765BF4 and #F45BD9, which give the same contrast with far less vibration.

What colors go well with #8df45b?

For interface work: #F6FAF4 as the surface, #CEEDC0 for borders, #659B4B for secondary text, #9B58F7 as an accent and #2C7708 for hover and pressed states. For a palette, the analogous pair #D9F45B and #5BF476 stays calm, while #C25BF4 is the loudest partner.

What is #8df45b in CMYK for printing?

cmyk(42%, 0%, 63%, 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 #8df45b 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 #C5F45B; nudged cooler, #59F660.

Work with #8df45b in the Color Lab