Skip to content

#4df4a2

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

RGB
77, 244, 162
HSL
151°, 88%, 63%
CMYK
68, 0, 34, 4
Luminance
0.6889

At a glance

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

Hex
#4df4a2
Hue
151°
green
Saturation
88%
electric
Lightness
63%
balanced
Brightness
96%
HSV value
Perceived
78%
weighted brightness
Luminance
0.6889
WCAG relative
Temperature
Cool
75/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.78:1
Closest name
Medium Spring Green
ΔE2000 2.7
Where it sits
Hue151° of 360°
Saturation88%
Lightness63%
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#4df4a2
RGBrgb(77, 244, 162)
HSLhsl(151, 88%, 63%)
CMYKcmyk(68%, 0%, 34%, 4%)
LABlab(86.5 -61.0 27.4)
LCHlch(86.5 66.8 155.8)
OKLCHoklch(0.862 0.179 157.4)
Decimal5108898
Display P3color(display-p3 0.302 0.957 0.635)

Copy-ready code

/* CSS */
color: #4df4a2;
background-color: #4df4a2;
/* Tailwind (arbitrary) */
class="text-[#4df4a2] bg-[#4df4a2]"
/* SCSS */
$brand: #4df4a2;
/* SwiftUI */
Color(red: 0.302, green: 0.957, blue: 0.635)
/* Android */
Color.parseColor("#4df4a2")
/* Flutter */
Color(0xFF4DF4A2)
/* Python / OpenCV (BGR) */
(162, 244, 77)

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

Accessibility — WCAG contrast

Aa
#4df4a2 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#4df4a2 on black: 14.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F2E19D
deuteranopia · #DDD2A7
tritanopia · #00F2DF

Color scale — 50 to 950

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

#F2FDF7
#E5FAF0
#C4F8DE
#95F8C8
#4df4a2
#2CF290
#0EE77C
#0CC068
#099A53
#0B6F3E
#074527
Base = 400Lightest = 50 · #F2FDF7Darkest = 950 · #074527
:root {
  --brand-50: #F2FDF7;
  --brand-100: #E5FAF0;
  --brand-200: #C4F8DE;
  --brand-300: #95F8C8;
  --brand-400: #4df4a2;
  --brand-500: #2CF290;
  --brand-600: #0EE77C;
  --brand-700: #0CC068;
  --brand-800: #099A53;
  --brand-900: #0B6F3E;
  --brand-950: #074527;
  --brand: #4df4a2;
  --brand-ink: #000000;
}

Colors that work with #4df4a2

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#C0EDD7
Hairlines and dividers
Muted text#4B9B73
Captions on the surface
Accent#C40894
Second voice, not a rival
Dark variant#077841
Hover, pressed, headers
Light variant#E7FEF2
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 #4df4a2

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#F44D9F
Analogous left#4DF44E
Analogous right#4DF3F4
Split-complement 1#F44DF3
Split-complement 2#F44E4D
Triadic 1#A24DF4
Triadic 2#F4A24D
Tetradic#4E4DF4

RGB percentages

Red30.2%
Green95.7%
Blue63.5%

CMYK percentages

Cyan68.4%
Magenta0.0%
Yellow33.6%
Key (black)4.3%

Color previews

#4df4a2 text on a black background

contrast 14.78:1

Card sample

#4df4a2 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4df4a2;
Background color
Panel with #4df4a2 background
background-color: #4df4a2;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(77, 244, 162, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(77, 244, 162, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4df4a2;
background: linear-gradient(135deg, #4df4a2, #4DD7F4);

Monochromatic scale

Palettes built from #4df4a2

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.

#4df4a2 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.

#4df4a2, answered

What color is #4df4a2?

#4df4a2 is a balanced electric green, closest to Medium Spring Green (ΔE2000 2.7). It sits at 151° on the hue wheel with 88% saturation and 63% lightness, which reads as cool.

What is the RGB value of #4df4a2?

rgb(77, 244, 162) — 77 red, 244 green and 162 blue out of 255, or 30.2% / 95.7% / 63.5% by channel.

Is #4df4a2 a light or a dark color?

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

Should I use black or white text on #4df4a2?

Black. It scores 14.78:1 against #4df4a2, versus 1.42:1 for white — AAA at any size.

What is the complementary color of #4df4a2?

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

What colors go well with #4df4a2?

For interface work: #F4FAF7 as the surface, #C0EDD7 for borders, #4B9B73 for secondary text, #C40894 as an accent and #077841 for hover and pressed states. For a palette, the analogous pair #4DF44E and #4DF3F4 stays calm, while #F44D9F is the loudest partner.

What is #4df4a2 in CMYK for printing?

cmyk(68%, 0%, 34%, 4%). 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 #4df4a2 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 #4DF464; nudged cooler, #4BF6E1.

Work with #4df4a2 in the Color Lab