Skip to content

#02eb8b

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

RGB
2, 235, 139
HSL
155°, 98%, 47%
CMYK
99, 0, 41, 8
Luminance
0.6129

At a glance

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

Hex
#02eb8b
Hue
155°
green
Saturation
98%
electric
Lightness
47%
balanced
Brightness
92%
HSV value
Perceived
73%
weighted brightness
Luminance
0.6129
WCAG relative
Temperature
Cool
77/100 cool
Color family
Green
Tone
Electric
Best ink
Black
13.26:1
Closest name
Medium Spring Green
ΔE2000 3.3
Where it sits
Hue155° of 360°
Saturation98%
Lightness47%
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#02eb8b
RGBrgb(2, 235, 139)
HSLhsl(155, 98%, 47%)
CMYKcmyk(99%, 0%, 41%, 8%)
LABlab(82.5 -68.4 33.6)
LCHlch(82.5 76.2 153.8)
OKLCHoklch(0.826 0.202 155.6)
Decimal191371
Display P3color(display-p3 0.008 0.922 0.545)

Copy-ready code

/* CSS */
color: #02eb8b;
background-color: #02eb8b;
/* Tailwind (arbitrary) */
class="text-[#02eb8b] bg-[#02eb8b]"
/* SCSS */
$brand: #02eb8b;
/* SwiftUI */
Color(red: 0.008, green: 0.922, blue: 0.545)
/* Android */
Color.parseColor("#02eb8b")
/* Flutter */
Color(0xFF02EB8B)
/* Python / OpenCV (BGR) */
(139, 235, 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 #02eb8b · 13.26:1
Use #000000AAA at every size.
Aa
White text · 1.58:1
AA fail · AA large fail · AAA fail
Aa
Black text · 13.26:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #02eb8b as text scores 1.58:1 on white and 13.26:1 on black.

Accessibility — WCAG contrast

Aa
#02eb8b on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#02eb8b on black: 13.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EAD784
deuteranopia · #D4C792
tritanopia · #00E9D3

Color scale — 50 to 950

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

#F1FDF8
#E3FCF2
#C1FBE3
#90FED1
#58FEB9
#21FDA2
#02eb8b
#02CA78
#01A260
#067547
#04492C
Base = 600Lightest = 50 · #F1FDF8Darkest = 950 · #04492C
:root {
  --brand-50: #F1FDF8;
  --brand-100: #E3FCF2;
  --brand-200: #C1FBE3;
  --brand-300: #90FED1;
  --brand-400: #58FEB9;
  --brand-500: #21FDA2;
  --brand-600: #02eb8b;
  --brand-700: #02CA78;
  --brand-800: #01A260;
  --brand-900: #067547;
  --brand-950: #04492C;
  --brand: #02eb8b;
  --brand-ink: #000000;
}

Colors that work with #02eb8b

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#C0EDDA
Hairlines and dividers
Muted text#4B9B7A
Captions on the surface
Accent#ED009D
Second voice, not a rival
Dark variant#017E4B
Hover, pressed, headers
Light variant#E6FFF4
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 #02eb8b

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#EB0262
Analogous left#02EB17
Analogous right#02D7EB
Split-complement 1#EB02D7
Split-complement 2#EB1702
Triadic 1#8B02EB
Triadic 2#EB8B02
Tetradic#1702EB

RGB percentages

Red0.8%
Green92.2%
Blue54.5%

CMYK percentages

Cyan99.1%
Magenta0.0%
Yellow40.9%
Key (black)7.8%

Color previews

#02eb8b text on a black background

contrast 13.26:1

Card sample

#02eb8b text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(2, 235, 139, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 235, 139, 0.45);
Border & gradient
Gradient panel
border: 3px solid #02eb8b;
background: linear-gradient(135deg, #02eb8b, #02B0EB);

Monochromatic scale

Palettes built from #02eb8b

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.

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

#02eb8b, answered

What color is #02eb8b?

#02eb8b is a balanced electric green, closest to Medium Spring Green (ΔE2000 3.3). It sits at 155° on the hue wheel with 98% saturation and 47% lightness, which reads as cool.

What is the RGB value of #02eb8b?

rgb(2, 235, 139) — 2 red, 235 green and 139 blue out of 255, or 0.8% / 92.2% / 54.5% by channel.

Is #02eb8b a light or a dark color?

It is a light color. Relative luminance is 0.6129 and perceived brightness is 73%, so black text on it reaches 13.26:1.

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

Black. It scores 13.26:1 against #02eb8b, versus 1.58:1 for white — AAA at any size.

What is the complementary color of #02eb8b?

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

What colors go well with #02eb8b?

For interface work: #F4FAF8 as the surface, #C0EDDA for borders, #4B9B7A for secondary text, #ED009D as an accent and #017E4B for hover and pressed states. For a palette, the analogous pair #02EB17 and #02D7EB stays calm, while #EB0262 is the loudest partner.

What is #02eb8b in CMYK for printing?

cmyk(99%, 0%, 41%, 8%). 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 #02eb8b 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 #02EB36; nudged cooler, #00EDE2.

Work with #02eb8b in the Color Lab