Skip to content

#2cf79e

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

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

At a glance

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

Hex
#2cf79e
Hue
154°
green
Saturation
93%
electric
Lightness
57%
balanced
Brightness
97%
HSV value
Perceived
78%
weighted brightness
Luminance
0.6953
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#2cf79e
RGBrgb(44, 247, 158)
HSLhsl(154, 93%, 57%)
CMYKcmyk(82%, 0%, 36%, 3%)
LABlab(86.8 -66.8 29.7)
LCHlch(86.8 73.1 156.0)
OKLCHoklch(0.863 0.195 157.5)
Decimal2946974
Display P3color(display-p3 0.173 0.969 0.620)

Copy-ready code

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

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 #2cf79e · 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: #2cf79e as text scores 1.41:1 on white and 14.91:1 on black.

Accessibility — WCAG contrast

Aa
#2cf79e on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#2cf79e 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. #2cf79e 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
#2cf79e
#09EC88
#07C572
#069D5B
#097144
#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: #2cf79e;
  --brand-600: #09EC88;
  --brand-700: #07C572;
  --brand-800: #069D5B;
  --brand-900: #097144;
  --brand-950: #06472A;
  --brand: #2cf79e;
  --brand-ink: #000000;
}

Colors that work with #2cf79e

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#FB28B9
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 #2cf79e

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#F72C85
Analogous left#2CF739
Analogous right#2CEBF7
Split-complement 1#F72CEB
Split-complement 2#F7392C
Triadic 1#9E2CF7
Triadic 2#F79E2C
Tetradic#392CF7

RGB percentages

Red17.3%
Green96.9%
Blue62.0%

CMYK percentages

Cyan82.2%
Magenta0.0%
Yellow36.0%
Key (black)3.1%

Color previews

#2cf79e text on a black background

contrast 14.91:1

Card sample

#2cf79e text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2cf79e

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.

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

#2cf79e, answered

What color is #2cf79e?

#2cf79e 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 #2cf79e?

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

Is #2cf79e a light or a dark color?

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

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

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

What is the complementary color of #2cf79e?

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

What colors go well with #2cf79e?

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

What is #2cf79e 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 #2cf79e 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 #2CF754; nudged cooler, #2AF9EA.

Work with #2cf79e in the Color Lab