Skip to content

#8df951

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

RGB
141, 249, 81
HSL
99°, 93%, 65%
CMYK
43, 0, 68, 2
Luminance
0.7401

At a glance

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

Hex
#8df951
Hue
99°
green
Saturation
93%
electric
Lightness
65%
balanced
Brightness
98%
HSV value
Perceived
81%
weighted brightness
Luminance
0.7401
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.80:1
Closest name
Lawn Green
ΔE2000 3.7
Where it sits
Hue99° of 360°
Saturation93%
Lightness65%
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#8df951
RGBrgb(141, 249, 81)
HSLhsl(99, 93%, 65%)
CMYKcmyk(43%, 0%, 68%, 2%)
LABlab(88.9 -58.7 67.9)
LCHlch(88.9 89.8 130.8)
OKLCHoklch(0.885 0.225 136.5)
Decimal9304401
Display P3color(display-p3 0.553 0.976 0.318)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8df951 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#8df951 on black: 15.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE538
deuteranopia · #F3DC60
tritanopia · #88F0D7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #8df951 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
#ECFBE4
#D6F9C2
#B8FB93
#8df951
#71F726
#5AED08
#4BC507
#3C9E05
#2E7209
#1D4705
Base = 400Lightest = 50 · #F6FDF2Darkest = 950 · #1D4705
:root {
  --brand-50: #F6FDF2;
  --brand-100: #ECFBE4;
  --brand-200: #D6F9C2;
  --brand-300: #B8FB93;
  --brand-400: #8df951;
  --brand-500: #71F726;
  --brand-600: #5AED08;
  --brand-700: #4BC507;
  --brand-800: #3C9E05;
  --brand-900: #2E7209;
  --brand-950: #1D4705;
  --brand: #8df951;
  --brand-ink: #000000;
}

Colors that work with #8df951

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#924DFD
Second voice, not a rival
Dark variant#2F7B04
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 #8df951

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#BD51F9
Analogous left#E1F951
Analogous right#51F969
Split-complement 1#6951F9
Split-complement 2#F951E1
Triadic 1#518DF9
Triadic 2#F9518D
Tetradic#51E1F9

RGB percentages

Red55.3%
Green97.6%
Blue31.8%

CMYK percentages

Cyan43.4%
Magenta0.0%
Yellow67.5%
Key (black)2.4%

Color previews

#8df951 text on a black background

contrast 15.80:1

Card sample

#8df951 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(141, 249, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(141, 249, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8df951;
background: linear-gradient(135deg, #8df951, #51F985);

Monochromatic scale

Palettes built from #8df951

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.

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

#8df951, answered

What color is #8df951?

#8df951 is a balanced electric green, closest to Lawn Green (ΔE2000 3.7). It sits at 99° on the hue wheel with 93% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #8df951?

rgb(141, 249, 81) — 141 red, 249 green and 81 blue out of 255, or 55.3% / 97.6% / 31.8% by channel.

Is #8df951 a light or a dark color?

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

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

Black. It scores 15.80:1 against #8df951, versus 1.33:1 for white — AAA at any size.

What is the complementary color of #8df951?

#BD51F9 sits directly opposite on the wheel. Softer options are the split-complements #6951F9 and #F951E1, which give the same contrast with far less vibration.

What colors go well with #8df951?

For interface work: #F6FAF4 as the surface, #D0EDC0 for borders, #679B4B for secondary text, #924DFD as an accent and #2F7B04 for hover and pressed states. For a palette, the analogous pair #E1F951 and #51F969 stays calm, while #BD51F9 is the loudest partner.

What is #8df951 in CMYK for printing?

cmyk(43%, 0%, 68%, 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 #8df951 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 #CAF951; nudged cooler, #4FFB51.

Work with #8df951 in the Color Lab