Skip to content

#7df751

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

RGB
125, 247, 81
HSL
104°, 91%, 64%
CMYK
49, 0, 67, 3
Luminance
0.7148

At a glance

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

Hex
#7df751
Hue
104°
green
Saturation
91%
electric
Lightness
64%
balanced
Brightness
97%
HSV value
Perceived
80%
weighted brightness
Luminance
0.7148
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.30:1
Closest name
Lawn Green
ΔE2000 4.3
Where it sits
Hue104° of 360°
Saturation91%
Lightness64%
Temperature
Warm ← → Cool56% 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#7df751
RGBrgb(125, 247, 81)
HSLhsl(104, 91%, 64%)
CMYKcmyk(49%, 0%, 67%, 3%)
LABlab(87.7 -62.6 66.5)
LCHlch(87.7 91.3 133.3)
OKLCHoklch(0.873 0.230 138.6)
Decimal8255313
Display P3color(display-p3 0.490 0.969 0.318)

Copy-ready code

/* CSS */
color: #7df751;
background-color: #7df751;
/* Tailwind (arbitrary) */
class="text-[#7df751] bg-[#7df751]"
/* SCSS */
$brand: #7df751;
/* SwiftUI */
Color(red: 0.490, green: 0.969, blue: 0.318)
/* Android */
Color.parseColor("#7df751")
/* Flutter */
Color(0xFF7DF751)
/* Python / OpenCV (BGR) */
(81, 247, 125)

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

Accessibility — WCAG contrast

Aa
#7df751 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#7df751 on black: 15.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FEE239
deuteranopia · #EED860
tritanopia · #73EFD6

Color scale — 50 to 950

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

#F5FDF2
#EAFBE5
#D1F9C3
#AFFA94
#7df751
#5FF528
#46EA0B
#3AC309
#2F9C07
#25710A
#174606
Base = 400Lightest = 50 · #F5FDF2Darkest = 950 · #174606
:root {
  --brand-50: #F5FDF2;
  --brand-100: #EAFBE5;
  --brand-200: #D1F9C3;
  --brand-300: #AFFA94;
  --brand-400: #7df751;
  --brand-500: #5FF528;
  --brand-600: #46EA0B;
  --brand-700: #3AC309;
  --brand-800: #2F9C07;
  --brand-900: #25710A;
  --brand-950: #174606;
  --brand: #7df751;
  --brand-ink: #000000;
}

Colors that work with #7df751

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#CCEDC0
Hairlines and dividers
Muted text#609B4B
Captions on the surface
Accent#A14DFB
Second voice, not a rival
Dark variant#247A06
Hover, pressed, headers
Light variant#EDFEE7
Selected rows, tints
Dark surface#182414
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 #7df751

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#CB51F7
Analogous left#D0F751
Analogous right#51F778
Split-complement 1#7851F7
Split-complement 2#F751D0
Triadic 1#517DF7
Triadic 2#F7517D
Tetradic#51D0F7

RGB percentages

Red49.0%
Green96.9%
Blue31.8%

CMYK percentages

Cyan49.4%
Magenta0.0%
Yellow67.2%
Key (black)3.1%

Color previews

#7df751 text on a black background

contrast 15.30:1

Card sample

#7df751 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7df751;
Background color
Panel with #7df751 background
background-color: #7df751;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(125, 247, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(125, 247, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7df751;
background: linear-gradient(135deg, #7df751, #51F794);

Monochromatic scale

Palettes built from #7df751

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.

#7df751 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.

#7df751, answered

What color is #7df751?

#7df751 is a balanced electric green, closest to Lawn Green (ΔE2000 4.3). It sits at 104° on the hue wheel with 91% saturation and 64% lightness, which reads as neutral.

What is the RGB value of #7df751?

rgb(125, 247, 81) — 125 red, 247 green and 81 blue out of 255, or 49% / 96.9% / 31.8% by channel.

Is #7df751 a light or a dark color?

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

Should I use black or white text on #7df751?

Black. It scores 15.30:1 against #7df751, versus 1.37:1 for white — AAA at any size.

What is the complementary color of #7df751?

#CB51F7 sits directly opposite on the wheel. Softer options are the split-complements #7851F7 and #F751D0, which give the same contrast with far less vibration.

What colors go well with #7df751?

For interface work: #F6FAF4 as the surface, #CCEDC0 for borders, #609B4B for secondary text, #A14DFB as an accent and #247A06 for hover and pressed states. For a palette, the analogous pair #D0F751 and #51F778 stays calm, while #CB51F7 is the loudest partner.

What is #7df751 in CMYK for printing?

cmyk(49%, 0%, 67%, 3%). 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 #7df751 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BAF751; nudged cooler, #4FF960.

Work with #7df751 in the Color Lab