#2df79d
a balanced, electric green · cool · closest name: Medium Spring Green
At a glance
Every number on this page in one read: what #2df79d is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #2df79d |
| RGB | rgb(45, 247, 157) |
| HSL | hsl(153, 93%, 57%) |
| CMYK | cmyk(82%, 0%, 36%, 3%) |
| LAB | lab(86.8 -66.9 30.2) |
| LCH | lch(86.8 73.4 155.7) |
| OKLCH | oklch(0.863 0.196 157.2) |
| Decimal | 3012509 |
| Display P3 | color(display-p3 0.176 0.969 0.616) |
Copy-ready code
/* CSS */
color: #2df79d;
background-color: #2df79d;
/* Tailwind (arbitrary) */
class="text-[#2df79d] bg-[#2df79d]"
/* SCSS */
$brand: #2df79d;
/* SwiftUI */
Color(red: 0.176, green: 0.969, blue: 0.616)
/* Android */
Color.parseColor("#2df79d")
/* Flutter */
Color(0xFF2DF79D)
/* Python / OpenCV (BGR) */
(157, 247, 45)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #2df79d is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F2FDF8;
--brand-100: #E4FBF1;
--brand-200: #C2F9E1;
--brand-300: #93FBCD;
--brand-400: #5DF9B3;
--brand-500: #2df79d;
--brand-600: #09EC87;
--brand-700: #07C570;
--brand-800: #069D5A;
--brand-900: #097143;
--brand-950: #06472A;
--brand: #2df79d;
--brand-ink: #000000;
}Colors that work with #2df79d
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #2df79d
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠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 | #F72D87 | Directly opposite — maximum tension | |
| Analogous left | #2DF738 | Neighbour, quieter | |
| Analogous right | #2DECF7 | Neighbour, quieter | |
| Split-complement 1 | #F72DEC | Contrast without the clash | |
| Split-complement 2 | #F7382D | Contrast without the clash | |
| Triadic 1 | #9D2DF7 | Even thirds — balanced and loud | |
| Triadic 2 | #F79D2D | Even thirds — balanced and loud | |
| Tetradic | #382DF7 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#2df79d text on a black background
contrast 14.90:1
#2df79d text on a white background
contrast 1.41:1
CSS3 live lab
The quick brown fox
color: #2df79d;
background-color: #2df79d;
Glowing headline
text-shadow: 2px 2px 8px #2df79d;
Soft neon halo
text-shadow: 0 0 14px rgba(45, 247, 157, 0.45);
box-shadow: 0 12px 32px -8px rgba(45, 247, 157, 0.45);
border: 3px solid #2df79d; background: linear-gradient(135deg, #2df79d, #2DCAF7);
Monochromatic scale
Palettes built from #2df79d
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.
Closest color with a full write-up: Spring Green (#00ff7f) — ΔE2000 5.3 away, with its history, psychology and brand usage.
#2df79d in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#2df79d, answered
What color is #2df79d?
#2df79d is a balanced electric green, closest to Medium Spring Green (ΔE2000 1.1). It sits at 153° on the hue wheel with 93% saturation and 57% lightness, which reads as cool.
What is the RGB value of #2df79d?
rgb(45, 247, 157) — 45 red, 247 green and 157 blue out of 255, or 17.6% / 96.9% / 61.6% by channel.
Is #2df79d a light or a dark color?
It is a light color. Relative luminance is 0.6951 and perceived brightness is 78%, so black text on it reaches 14.90:1.
Should I use black or white text on #2df79d?
Black. It scores 14.90:1 against #2df79d, versus 1.41:1 for white — AAA at any size.
What is the complementary color of #2df79d?
#F72D87 sits directly opposite on the wheel. Softer options are the split-complements #F72DEC and #F7382D, which give the same contrast with far less vibration.
What colors go well with #2df79d?
For interface work: #F4FAF8 as the surface, #C0EDD9 for borders, #4B9B77 for secondary text, #FB29BB as an accent and #057B46 for hover and pressed states. For a palette, the analogous pair #2DF738 and #2DECF7 stays calm, while #F72D87 is the loudest partner.
What is #2df79d in CMYK for printing?
cmyk(82%, 0%, 36%, 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 #2df79d warm or cool?
Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2DF753; nudged cooler, #2BF9E9.