Skip to content

#7fe721

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

RGB
127, 231, 33
HSL
92°, 81%, 52%
CMYK
45, 0, 86, 9
Luminance
0.6177

At a glance

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

Hex
#7fe721
Hue
92°
green
Saturation
81%
electric
Lightness
52%
balanced
Brightness
91%
HSV value
Perceived
75%
weighted brightness
Luminance
0.6177
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Green
Tone
Electric
Best ink
Black
13.35:1
Closest name
Lawn Green
ΔE2000 4.6
Where it sits
Hue92° of 360°
Saturation81%
Lightness52%
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#7fe721
RGBrgb(127, 231, 33)
HSLhsl(92, 81%, 52%)
CMYKcmyk(45%, 0%, 86%, 9%)
LABlab(82.8 -58.8 76.1)
LCHlch(82.8 96.2 127.7)
OKLCHoklch(0.832 0.234 134.9)
Decimal8382241
Display P3color(display-p3 0.498 0.906 0.129)

Copy-ready code

/* CSS */
color: #7fe721;
background-color: #7fe721;
/* Tailwind (arbitrary) */
class="text-[#7fe721] bg-[#7fe721]"
/* SCSS */
$brand: #7fe721;
/* SwiftUI */
Color(red: 0.498, green: 0.906, blue: 0.129)
/* Android */
Color.parseColor("#7fe721")
/* Flutter */
Color(0xFF7FE721)
/* Python / OpenCV (BGR) */
(33, 231, 127)

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

Accessibility — WCAG contrast

Aa
#7fe721 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#7fe721 on black: 13.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F0D300
deuteranopia · #E2CB3D
tritanopia · #7CDEC5

Color scale — 50 to 950

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

#F7FCF3
#EFF9E6
#DDF5C6
#C5F49A
#A7EF67
#8AE934
#7fe721
#62B814
#4E9310
#3B6B10
#25430A
Base = 600Lightest = 50 · #F7FCF3Darkest = 950 · #25430A
:root {
  --brand-50: #F7FCF3;
  --brand-100: #EFF9E6;
  --brand-200: #DDF5C6;
  --brand-300: #C5F49A;
  --brand-400: #A7EF67;
  --brand-500: #8AE934;
  --brand-600: #7fe721;
  --brand-700: #62B814;
  --brand-800: #4E9310;
  --brand-900: #3B6B10;
  --brand-950: #25430A;
  --brand: #7fe721;
  --brand-ink: #000000;
}

Colors that work with #7fe721

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#551CEC
Second voice, not a rival
Dark variant#3D730C
Hover, pressed, headers
Light variant#F2FDE8
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 #7fe721

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#8921E7
Analogous left#E2E721
Analogous right#21E726
Split-complement 1#2621E7
Split-complement 2#E721E2
Triadic 1#217FE7
Triadic 2#E7217F
Tetradic#21E2E7

RGB percentages

Red49.8%
Green90.6%
Blue12.9%

CMYK percentages

Cyan45.0%
Magenta0.0%
Yellow85.7%
Key (black)9.4%

Color previews

#7fe721 text on a black background

contrast 13.35:1

Card sample

#7fe721 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(127, 231, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(127, 231, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7fe721;
background: linear-gradient(135deg, #7fe721, #21E747);

Monochromatic scale

Palettes built from #7fe721

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.

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

#7fe721, answered

What color is #7fe721?

#7fe721 is a balanced electric green, closest to Lawn Green (ΔE2000 4.6). It sits at 92° on the hue wheel with 81% saturation and 52% lightness, which reads as neutral.

What is the RGB value of #7fe721?

rgb(127, 231, 33) — 127 red, 231 green and 33 blue out of 255, or 49.8% / 90.6% / 12.9% by channel.

Is #7fe721 a light or a dark color?

It is a light color. Relative luminance is 0.6177 and perceived brightness is 75%, so black text on it reaches 13.35:1.

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

Black. It scores 13.35:1 against #7fe721, versus 1.57:1 for white — AAA at any size.

What is the complementary color of #7fe721?

#8921E7 sits directly opposite on the wheel. Softer options are the split-complements #2621E7 and #E721E2, which give the same contrast with far less vibration.

What colors go well with #7fe721?

For interface work: #F7FAF4 as the surface, #D5EDC0 for borders, #719B4B for secondary text, #551CEC as an accent and #3D730C for hover and pressed states. For a palette, the analogous pair #E2E721 and #21E726 stays calm, while #8921E7 is the loudest partner.

What is #7fe721 in CMYK for printing?

cmyk(45%, 0%, 86%, 9%). 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 #7fe721 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 #C8E721; nudged cooler, #35E91F.

Work with #7fe721 in the Color Lab