Skip to content

#2ad97f

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

RGB
42, 217, 127
HSL
149°, 70%, 51%
CMYK
81, 0, 42, 15
Luminance
0.5165

At a glance

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

Hex
#2ad97f
Hue
149°
green
Saturation
70%
vivid
Lightness
51%
balanced
Brightness
85%
HSV value
Perceived
68%
weighted brightness
Luminance
0.5165
WCAG relative
Temperature
Cool
75/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
11.33:1
Closest name
Medium Spring Green
ΔE2000 7.3
Where it sits
Hue149° of 360°
Saturation70%
Lightness51%
Temperature
Warm ← → Cool75% 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#2ad97f
RGBrgb(42, 217, 127)
HSLhsl(149, 70%, 51%)
CMYKcmyk(81%, 0%, 42%, 15%)
LABlab(77.1 -62.3 32.5)
LCHlch(77.1 70.3 152.4)
OKLCHoklch(0.781 0.186 154.3)
Decimal2808191
Display P3color(display-p3 0.165 0.851 0.498)

Copy-ready code

/* CSS */
color: #2ad97f;
background-color: #2ad97f;
/* Tailwind (arbitrary) */
class="text-[#2ad97f] bg-[#2ad97f]"
/* SCSS */
$brand: #2ad97f;
/* SwiftUI */
Color(red: 0.165, green: 0.851, blue: 0.498)
/* Android */
Color.parseColor("#2ad97f")
/* Flutter */
Color(0xFF2AD97F)
/* Python / OpenCV (BGR) */
(127, 217, 42)

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

Accessibility — WCAG contrast

Aa
#2ad97f on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#2ad97f on black: 11.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D9C779
deuteranopia · #C5B985
tritanopia · #00D6C3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2ad97f is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3FCF7
#E7F8EF
#CAF2DD
#A0EEC6
#70E6A9
#41DD8C
#2ad97f
#1FAD64
#198A50
#16643C
#0E3F26
Base = 600Lightest = 50 · #F3FCF7Darkest = 950 · #0E3F26
:root {
  --brand-50: #F3FCF7;
  --brand-100: #E7F8EF;
  --brand-200: #CAF2DD;
  --brand-300: #A0EEC6;
  --brand-400: #70E6A9;
  --brand-500: #41DD8C;
  --brand-600: #2ad97f;
  --brand-700: #1FAD64;
  --brand-800: #198A50;
  --brand-900: #16643C;
  --brand-950: #0E3F26;
  --brand: #2ad97f;
  --brand-ink: #000000;
}

Colors that work with #2ad97f

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#F4FAF7
Tinted page background
Border#C0EDD6
Hairlines and dividers
Muted text#4B9B72
Captions on the surface
Accent#DE25B3
Second voice, not a rival
Dark variant#136C3E
Hover, pressed, headers
Light variant#E9FBF2
Selected rows, tints
Dark surface#14241C
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 #2ad97f

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#D92A84
Analogous left#2DD92A
Analogous right#2AD9D6
Split-complement 1#D62AD9
Split-complement 2#D92A2D
Triadic 1#7F2AD9
Triadic 2#D97F2A
Tetradic#2A2DD9

RGB percentages

Red16.5%
Green85.1%
Blue49.8%

CMYK percentages

Cyan80.6%
Magenta0.0%
Yellow41.5%
Key (black)14.9%

Color previews

#2ad97f text on a black background

contrast 11.33:1

Card sample

#2ad97f text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 217, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 217, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ad97f;
background: linear-gradient(135deg, #2ad97f, #2ABED9);

Monochromatic scale

Palettes built from #2ad97f

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.

#2ad97f 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

Converts to four-color process without much drama. Proof it anyway.

#2ad97f, answered

What color is #2ad97f?

#2ad97f is a balanced vivid green, closest to Medium Spring Green (ΔE2000 7.3). It sits at 149° on the hue wheel with 70% saturation and 51% lightness, which reads as cool.

What is the RGB value of #2ad97f?

rgb(42, 217, 127) — 42 red, 217 green and 127 blue out of 255, or 16.5% / 85.1% / 49.8% by channel.

Is #2ad97f a light or a dark color?

It is a light color. Relative luminance is 0.5165 and perceived brightness is 68%, so black text on it reaches 11.33:1.

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

Black. It scores 11.33:1 against #2ad97f, versus 1.85:1 for white — AAA at any size.

What is the complementary color of #2ad97f?

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

What colors go well with #2ad97f?

For interface work: #F4FAF7 as the surface, #C0EDD6 for borders, #4B9B72 for secondary text, #DE25B3 as an accent and #136C3E for hover and pressed states. For a palette, the analogous pair #2DD92A and #2AD9D6 stays calm, while #D92A84 is the loudest partner.

What is #2ad97f in CMYK for printing?

cmyk(81%, 0%, 42%, 15%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #2ad97f warm or cool?

Cool — it scores 75 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2AD93F; nudged cooler, #28DBC1.

Work with #2ad97f in the Color Lab