Skip to content

#02df8d

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

RGB
2, 223, 141
HSL
158°, 98%, 44%
CMYK
99, 0, 37, 13
Luminance
0.5471

At a glance

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

Hex
#02df8d
Hue
158°
green
Saturation
98%
electric
Lightness
44%
dark
Brightness
87%
HSV value
Perceived
70%
weighted brightness
Luminance
0.5471
WCAG relative
Temperature
Cool
78/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.94:1
Closest name
Medium Spring Green
ΔE2000 6
Where it sits
Hue158° of 360°
Saturation98%
Lightness44%
Temperature
Warm ← → Cool78% 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#02df8d
RGBrgb(2, 223, 141)
HSLhsl(158, 98%, 44%)
CMYKcmyk(99%, 0%, 37%, 13%)
LABlab(78.9 -64.0 27.7)
LCHlch(78.9 69.7 156.6)
OKLCHoklch(0.796 0.186 158.0)
Decimal188301
Display P3color(display-p3 0.008 0.875 0.553)

Copy-ready code

/* CSS */
color: #02df8d;
background-color: #02df8d;
/* Tailwind (arbitrary) */
class="text-[#02df8d] bg-[#02df8d]"
/* SCSS */
$brand: #02df8d;
/* SwiftUI */
Color(red: 0.008, green: 0.875, blue: 0.553)
/* Android */
Color.parseColor("#02df8d")
/* Flutter */
Color(0xFF02DF8D)
/* Python / OpenCV (BGR) */
(141, 223, 2)

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

Accessibility — WCAG contrast

Aa
#02df8d on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#02df8d on black: 11.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DDCC88
deuteranopia · #C8BD93
tritanopia · #00DDCA

Color scale — 50 to 950

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

#F1FDF9
#E3FCF3
#C1FBE5
#90FED5
#58FDC0
#21FDAB
#02df8d
#02CA80
#01A266
#06744B
#04492F
Base = 600Lightest = 50 · #F1FDF9Darkest = 950 · #04492F
:root {
  --brand-50: #F1FDF9;
  --brand-100: #E3FCF3;
  --brand-200: #C1FBE5;
  --brand-300: #90FED5;
  --brand-400: #58FDC0;
  --brand-500: #21FDAB;
  --brand-600: #02df8d;
  --brand-700: #02CA80;
  --brand-800: #01A266;
  --brand-900: #06744B;
  --brand-950: #04492F;
  --brand: #02df8d;
  --brand-ink: #000000;
}

Colors that work with #02df8d

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#C0EDDC
Hairlines and dividers
Muted text#4B9B7D
Captions on the surface
Accent#E1008C
Second voice, not a rival
Dark variant#017E50
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 #02df8d

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black text placed on it
  • 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#DF0254
Analogous left#02DF1E
Analogous right#02C3DF
Split-complement 1#DF02C3
Split-complement 2#DF1E02
Triadic 1#8D02DF
Triadic 2#DF8D02
Tetradic#1E02DF

RGB percentages

Red0.8%
Green87.5%
Blue55.3%

CMYK percentages

Cyan99.1%
Magenta0.0%
Yellow36.8%
Key (black)12.5%

Color previews

#02df8d text on a black background

contrast 11.94:1

Card sample

#02df8d text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #02df8d;
Background color
Panel with #02df8d background
background-color: #02df8d;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(2, 223, 141, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 223, 141, 0.45);
Border & gradient
Gradient panel
border: 3px solid #02df8d;
background: linear-gradient(135deg, #02df8d, #029EDF);

Monochromatic scale

Palettes built from #02df8d

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.

#02df8d 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.

#02df8d, answered

What color is #02df8d?

#02df8d is a dark electric green, closest to Medium Spring Green (ΔE2000 6). It sits at 158° on the hue wheel with 98% saturation and 44% lightness, which reads as cool.

What is the RGB value of #02df8d?

rgb(2, 223, 141) — 2 red, 223 green and 141 blue out of 255, or 0.8% / 87.5% / 55.3% by channel.

Is #02df8d a light or a dark color?

It is a light color. Relative luminance is 0.5471 and perceived brightness is 70%, so black text on it reaches 11.94:1.

Should I use black or white text on #02df8d?

Black. It scores 11.94:1 against #02df8d, versus 1.76:1 for white — AAA at any size.

What is the complementary color of #02df8d?

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

What colors go well with #02df8d?

For interface work: #F4FAF8 as the surface, #C0EDDC for borders, #4B9B7D for secondary text, #E1008C as an accent and #017E50 for hover and pressed states. For a palette, the analogous pair #02DF1E and #02C3DF stays calm, while #DF0254 is the loudest partner.

What is #02df8d in CMYK for printing?

cmyk(99%, 0%, 37%, 13%). 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 #02df8d warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #02DF3C; nudged cooler, #00E1E0.

Work with #02df8d in the Color Lab