Skip to content

#2df79e

a balanced, electric green · cool · closest name: Medium Spring Green

RGB
45, 247, 158
HSL
154°, 93%, 57%
CMYK
82, 0, 36, 3
Luminance
0.6955

At a glance

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

Hex
#2df79e
Hue
154°
green
Saturation
93%
electric
Lightness
57%
balanced
Brightness
97%
HSV value
Perceived
78%
weighted brightness
Luminance
0.6955
WCAG relative
Temperature
Cool
77/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.91:1
Closest name
Medium Spring Green
ΔE2000 1.2
Where it sits
Hue154° of 360°
Saturation93%
Lightness57%
Temperature
Warm ← → Cool77% 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#2df79e
RGBrgb(45, 247, 158)
HSLhsl(154, 93%, 57%)
CMYKcmyk(82%, 0%, 36%, 3%)
LABlab(86.8 -66.7 29.8)
LCHlch(86.8 73.0 156.0)
OKLCHoklch(0.863 0.195 157.5)
Decimal3012510
Display P3color(display-p3 0.176 0.969 0.620)

Copy-ready code

/* CSS */
color: #2df79e;
background-color: #2df79e;
/* Tailwind (arbitrary) */
class="text-[#2df79e] bg-[#2df79e]"
/* SCSS */
$brand: #2df79e;
/* SwiftUI */
Color(red: 0.176, green: 0.969, blue: 0.620)
/* Android */
Color.parseColor("#2df79e")
/* Flutter */
Color(0xFF2DF79E)
/* Python / OpenCV (BGR) */
(158, 247, 45)

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

Accessibility — WCAG contrast

Aa
#2df79e on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#2df79e on black: 14.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F5E398
deuteranopia · #DED3A4
tritanopia · #00F5E0

Color scale — 50 to 950

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

#F2FDF8
#E4FBF1
#C2F9E1
#93FBCD
#5DF9B4
#2df79e
#09EC88
#07C571
#069D5B
#097143
#06472A
Base = 500Lightest = 50 · #F2FDF8Darkest = 950 · #06472A
:root {
  --brand-50: #F2FDF8;
  --brand-100: #E4FBF1;
  --brand-200: #C2F9E1;
  --brand-300: #93FBCD;
  --brand-400: #5DF9B4;
  --brand-500: #2df79e;
  --brand-600: #09EC88;
  --brand-700: #07C571;
  --brand-800: #069D5B;
  --brand-900: #097143;
  --brand-950: #06472A;
  --brand: #2df79e;
  --brand-ink: #000000;
}

Colors that work with #2df79e

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#F4FAF8
Tinted page background
Border#C0EDD9
Hairlines and dividers
Muted text#4B9B78
Captions on the surface
Accent#FB29BA
Second voice, not a rival
Dark variant#057B47
Hover, pressed, headers
Light variant#E6FEF4
Selected rows, tints
Dark surface#14241D
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 #2df79e

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#F72D86
Analogous left#2DF739
Analogous right#2DEBF7
Split-complement 1#F72DEB
Split-complement 2#F7392D
Triadic 1#9E2DF7
Triadic 2#F79E2D
Tetradic#392DF7

RGB percentages

Red17.6%
Green96.9%
Blue62.0%

CMYK percentages

Cyan81.8%
Magenta0.0%
Yellow36.0%
Key (black)3.1%

Color previews

#2df79e text on a black background

contrast 14.91:1

Card sample

#2df79e text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2df79e;
Background color
Panel with #2df79e background
background-color: #2df79e;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 247, 158, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 247, 158, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2df79e;
background: linear-gradient(135deg, #2df79e, #2DC9F7);

Monochromatic scale

Palettes built from #2df79e

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.

#2df79e 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.

#2df79e, answered

What color is #2df79e?

#2df79e is a balanced electric green, closest to Medium Spring Green (ΔE2000 1.2). It sits at 154° on the hue wheel with 93% saturation and 57% lightness, which reads as cool.

What is the RGB value of #2df79e?

rgb(45, 247, 158) — 45 red, 247 green and 158 blue out of 255, or 17.6% / 96.9% / 62% by channel.

Is #2df79e a light or a dark color?

It is a light color. Relative luminance is 0.6955 and perceived brightness is 78%, so black text on it reaches 14.91:1.

Should I use black or white text on #2df79e?

Black. It scores 14.91:1 against #2df79e, versus 1.41:1 for white — AAA at any size.

What is the complementary color of #2df79e?

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

What colors go well with #2df79e?

For interface work: #F4FAF8 as the surface, #C0EDD9 for borders, #4B9B78 for secondary text, #FB29BA as an accent and #057B47 for hover and pressed states. For a palette, the analogous pair #2DF739 and #2DEBF7 stays calm, while #F72D86 is the loudest partner.

What is #2df79e 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 #2df79e warm or cool?

Cool — it scores 77 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2DF754; nudged cooler, #2BF9EA.

Work with #2df79e in the Color Lab