Skip to content

#7df27c

a light, electric green · cool · closest name: Light Green

RGB
125, 242, 124
HSL
120°, 82%, 72%
CMYK
48, 0, 49, 5
Luminance
0.6932

At a glance

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

Hex
#7df27c
Hue
120°
green
Saturation
82%
electric
Lightness
72%
light
Brightness
95%
HSV value
Perceived
79%
weighted brightness
Luminance
0.6932
WCAG relative
Temperature
Cool
62/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.86:1
Closest name
Light Green
ΔE2000 3.5
Where it sits
Hue120° of 360°
Saturation82%
Lightness72%
Temperature
Warm ← → Cool62% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#7df27c
RGBrgb(125, 242, 124)
HSLhsl(120, 82%, 72%)
CMYKcmyk(48%, 0%, 49%, 5%)
LABlab(86.7 -56.2 46.7)
LCHlch(86.7 73.0 140.3)
OKLCHoklch(0.866 0.190 143.6)
Decimal8254076
Display P3color(display-p3 0.490 0.949 0.486)

Copy-ready code

/* CSS */
color: #7df27c;
background-color: #7df27c;
/* Tailwind (arbitrary) */
class="text-[#7df27c] bg-[#7df27c]"
/* SCSS */
$brand: #7df27c;
/* SwiftUI */
Color(red: 0.490, green: 0.949, blue: 0.486)
/* Android */
Color.parseColor("#7df27c")
/* Flutter */
Color(0xFF7DF27C)
/* Python / OpenCV (BGR) */
(124, 242, 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 #7df27c · 14.86:1
Use #000000AAA at every size.
Aa
White text · 1.41:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.86:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #7df27c as text scores 1.41:1 on white and 14.86:1 on black.

Accessibility — WCAG contrast

Aa
#7df27c on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#7df27c on black: 14.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F6DF72
deuteranopia · #E6D584
tritanopia · #6DECD7

Color scale — 50 to 950

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

#F3FCF2
#E6F9E6
#C6F6C6
#9AF599
#7df27c
#34EB33
#18DF16
#14BA12
#10940F
#106B0F
#0A4309
Base = 400Lightest = 50 · #F3FCF2Darkest = 950 · #0A4309
:root {
  --brand-50: #F3FCF2;
  --brand-100: #E6F9E6;
  --brand-200: #C6F6C6;
  --brand-300: #9AF599;
  --brand-400: #7df27c;
  --brand-500: #34EB33;
  --brand-600: #18DF16;
  --brand-700: #14BA12;
  --brand-800: #10940F;
  --brand-900: #106B0F;
  --brand-950: #0A4309;
  --brand: #7df27c;
  --brand-ink: #000000;
}

Colors that work with #7df27c

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#F4FAF4
Tinted page background
Border#C0EDC0
Hairlines and dividers
Muted text#4B9B4B
Captions on the surface
Accent#900EBE
Second voice, not a rival
Dark variant#0C740C
Hover, pressed, headers
Light variant#E8FDE8
Selected rows, tints
Dark surface#142414
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 #7df27c

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#F17CF2
Analogous left#B8F27C
Analogous right#7CF2B6
Split-complement 1#B67CF2
Split-complement 2#F27CB8
Triadic 1#7C7DF2
Triadic 2#F27C7D
Tetradic#7CB8F2

RGB percentages

Red49.0%
Green94.9%
Blue48.6%

CMYK percentages

Cyan48.3%
Magenta0.0%
Yellow48.8%
Key (black)5.1%

Color previews

#7df27c text on a black background

contrast 14.86:1

Card sample

#7df27c text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(125, 242, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(125, 242, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7df27c;
background: linear-gradient(135deg, #7df27c, #7CF2CA);

Monochromatic scale

Palettes built from #7df27c

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.

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

#7df27c, answered

What color is #7df27c?

#7df27c is a light electric green, closest to Light Green (ΔE2000 3.5). It sits at 120° on the hue wheel with 82% saturation and 72% lightness, which reads as cool.

What is the RGB value of #7df27c?

rgb(125, 242, 124) — 125 red, 242 green and 124 blue out of 255, or 49% / 94.9% / 48.6% by channel.

Is #7df27c a light or a dark color?

It is a light color. Relative luminance is 0.6932 and perceived brightness is 79%, so black text on it reaches 14.86:1.

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

Black. It scores 14.86:1 against #7df27c, versus 1.41:1 for white — AAA at any size.

What is the complementary color of #7df27c?

#F17CF2 sits directly opposite on the wheel. Softer options are the split-complements #B67CF2 and #F27CB8, which give the same contrast with far less vibration.

What colors go well with #7df27c?

For interface work: #F4FAF4 as the surface, #C0EDC0 for borders, #4B9B4B for secondary text, #900EBE as an accent and #0C740C for hover and pressed states. For a palette, the analogous pair #B8F27C and #7CF2B6 stays calm, while #F17CF2 is the loudest partner.

What is #7df27c in CMYK for printing?

cmyk(48%, 0%, 49%, 5%). 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 #7df27c warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A8F27C; nudged cooler, #7BF3A6.

Work with #7df27c in the Color Lab