Skip to content

#2dfeaa

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

RGB
45, 254, 170
HSL
156°, 99%, 59%
CMYK
82, 0, 33, 0
Luminance
0.7434

At a glance

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

Hex
#2dfeaa
Hue
156°
green
Saturation
99%
electric
Lightness
59%
balanced
Brightness
100%
HSV value
Perceived
80%
weighted brightness
Luminance
0.7434
WCAG relative
Temperature
Cool
77/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.87:1
Closest name
Medium Spring Green
ΔE2000 2.3
Where it sits
Hue156° of 360°
Saturation99%
Lightness59%
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#2dfeaa
RGBrgb(45, 254, 170)
HSLhsl(156, 99%, 59%)
CMYKcmyk(82%, 0%, 33%, 0%)
LABlab(89.1 -66.8 26.8)
LCHlch(89.1 72.0 158.1)
OKLCHoklch(0.883 0.193 159.5)
Decimal3014314
Display P3color(display-p3 0.176 0.996 0.667)

Copy-ready code

/* CSS */
color: #2dfeaa;
background-color: #2dfeaa;
/* Tailwind (arbitrary) */
class="text-[#2dfeaa] bg-[#2dfeaa]"
/* SCSS */
$brand: #2dfeaa;
/* SwiftUI */
Color(red: 0.176, green: 0.996, blue: 0.667)
/* Android */
Color.parseColor("#2dfeaa")
/* Flutter */
Color(0xFF2DFEAA)
/* Python / OpenCV (BGR) */
(170, 254, 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 #2dfeaa · 15.87:1
Use #000000AAA at every size.
Aa
White text · 1.32:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.87:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #2dfeaa as text scores 1.32:1 on white and 15.87:1 on black.

Accessibility — WCAG contrast

Aa
#2dfeaa on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#2dfeaa on black: 15.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBEAA5
deuteranopia · #E3D9B0
tritanopia · #00FDE8

Color scale — 50 to 950

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

#F1FEF9
#E3FCF2
#C0FBE4
#8FFED2
#57FEBB
#2dfeaa
#01F492
#01CB7A
#01A262
#057548
#03492D
Base = 500Lightest = 50 · #F1FEF9Darkest = 950 · #03492D
:root {
  --brand-50: #F1FEF9;
  --brand-100: #E3FCF2;
  --brand-200: #C0FBE4;
  --brand-300: #8FFED2;
  --brand-400: #57FEBB;
  --brand-500: #2dfeaa;
  --brand-600: #01F492;
  --brand-700: #01CB7A;
  --brand-800: #01A262;
  --brand-900: #057548;
  --brand-950: #03492D;
  --brand: #2dfeaa;
  --brand-ink: #000000;
}

Colors that work with #2dfeaa

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#C0EDDB
Hairlines and dividers
Muted text#4B9B7B
Captions on the surface
Accent#FF2CB5
Second voice, not a rival
Dark variant#017F4C
Hover, pressed, headers
Light variant#E6FFF5
Selected rows, tints
Dark surface#14241E
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 #2dfeaa

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#FE2D81
Analogous left#2DFE41
Analogous right#2DE9FE
Split-complement 1#FE2DE9
Split-complement 2#FE412D
Triadic 1#AA2DFE
Triadic 2#FEAA2D
Tetradic#412DFE

RGB percentages

Red17.6%
Green99.6%
Blue66.7%

CMYK percentages

Cyan82.3%
Magenta0.0%
Yellow33.1%
Key (black)0.4%

Color previews

#2dfeaa text on a black background

contrast 15.87:1

Card sample

#2dfeaa text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dfeaa

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.

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

#2dfeaa, answered

What color is #2dfeaa?

#2dfeaa is a balanced electric green, closest to Medium Spring Green (ΔE2000 2.3). It sits at 156° on the hue wheel with 99% saturation and 59% lightness, which reads as cool.

What is the RGB value of #2dfeaa?

rgb(45, 254, 170) — 45 red, 254 green and 170 blue out of 255, or 17.6% / 99.6% / 66.7% by channel.

Is #2dfeaa a light or a dark color?

It is a light color. Relative luminance is 0.7434 and perceived brightness is 80%, so black text on it reaches 15.87:1.

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

Black. It scores 15.87:1 against #2dfeaa, versus 1.32:1 for white — AAA at any size.

What is the complementary color of #2dfeaa?

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

What colors go well with #2dfeaa?

For interface work: #F4FAF8 as the surface, #C0EDDB for borders, #4B9B7B for secondary text, #FF2CB5 as an accent and #017F4C for hover and pressed states. For a palette, the analogous pair #2DFE41 and #2DE9FE stays calm, while #FE2D81 is the loudest partner.

What is #2dfeaa in CMYK for printing?

cmyk(82%, 0%, 33%, 0%). 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 #2dfeaa 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 #2DFE5D; nudged cooler, #2CFFF8.

Work with #2dfeaa in the Color Lab