Skip to content

#02fd2f

a balanced, electric green · cool · closest name: Lime

RGB
2, 253, 47
HSL
131°, 98%, 50%
CMYK
99, 0, 81, 1
Luminance
0.7047

At a glance

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

Hex
#02fd2f
Hue
131°
green
Saturation
98%
electric
Lightness
50%
balanced
Brightness
99%
HSV value
Perceived
76%
weighted brightness
Luminance
0.7047
WCAG relative
Temperature
Cool
67/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.09:1
Closest name
Lime
ΔE2000 1.6
Where it sits
Hue131° of 360°
Saturation98%
Lightness50%
Temperature
Warm ← → Cool67% 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#02fd2f
RGBrgb(2, 253, 47)
HSLhsl(131, 98%, 50%)
CMYKcmyk(99%, 0%, 81%, 1%)
LABlab(87.2 -84.3 76.0)
LCHlch(87.2 113.5 137.9)
OKLCHoklch(0.863 0.283 143.5)
Decimal195887
Display P3color(display-p3 0.008 0.992 0.184)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#02fd2f on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#02fd2f on black: 15.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE400
deuteranopia · #ECD54B
tritanopia · #00F6D8

Color scale — 50 to 950

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

#F1FEF3
#E3FCE8
#C1FBCB
#90FEA4
#58FE76
#20FD48
#02fd2f
#02CA26
#01A21E
#06751A
#044910
Base = 600Lightest = 50 · #F1FEF3Darkest = 950 · #044910
:root {
  --brand-50: #F1FEF3;
  --brand-100: #E3FCE8;
  --brand-200: #C1FBCB;
  --brand-300: #90FEA4;
  --brand-400: #58FE76;
  --brand-500: #20FD48;
  --brand-600: #02fd2f;
  --brand-700: #02CA26;
  --brand-800: #01A21E;
  --brand-900: #06751A;
  --brand-950: #044910;
  --brand: #02fd2f;
  --brand-ink: #000000;
}

Colors that work with #02fd2f

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#F4FAF5
Tinted page background
Border#C0EDC8
Hairlines and dividers
Muted text#4B9B59
Captions on the surface
Accent#ED00FF
Second voice, not a rival
Dark variant#017E18
Hover, pressed, headers
Light variant#E6FFEA
Selected rows, tints
Dark surface#142417
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 #02fd2f

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#FD02D0
Analogous left#52FD02
Analogous right#02FDAD
Split-complement 1#AD02FD
Split-complement 2#FD0252
Triadic 1#2F02FD
Triadic 2#FD2F02
Tetradic#0252FD

RGB percentages

Red0.8%
Green99.2%
Blue18.4%

CMYK percentages

Cyan99.2%
Magenta0.0%
Yellow81.4%
Key (black)0.8%

Color previews

#02fd2f text on a black background

contrast 15.09:1

Card sample

#02fd2f text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #02fd2f

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.

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

#02fd2f, answered

What color is #02fd2f?

#02fd2f is a balanced electric green, closest to Lime (ΔE2000 1.6). It sits at 131° on the hue wheel with 98% saturation and 50% lightness, which reads as cool.

What is the RGB value of #02fd2f?

rgb(2, 253, 47) — 2 red, 253 green and 47 blue out of 255, or 0.8% / 99.2% / 18.4% by channel.

Is #02fd2f a light or a dark color?

It is a light color. Relative luminance is 0.7047 and perceived brightness is 76%, so black text on it reaches 15.09:1.

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

Black. It scores 15.09:1 against #02fd2f, versus 1.39:1 for white — AAA at any size.

What is the complementary color of #02fd2f?

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

What colors go well with #02fd2f?

For interface work: #F4FAF5 as the surface, #C0EDC8 for borders, #4B9B59 for secondary text, #ED00FF as an accent and #017E18 for hover and pressed states. For a palette, the analogous pair #52FD02 and #02FDAD stays calm, while #FD02D0 is the loudest partner.

What is #02fd2f in CMYK for printing?

cmyk(99%, 0%, 81%, 1%). 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 #02fd2f warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #31FD02; nudged cooler, #00FF8B.

Work with #02fd2f in the Color Lab