Skip to content

#02f968

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

RGB
2, 249, 104
HSL
145°, 98%, 49%
CMYK
99, 0, 58, 2
Luminance
0.6876

At a glance

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

Hex
#02f968
Hue
145°
green
Saturation
98%
electric
Lightness
49%
balanced
Brightness
98%
HSV value
Perceived
76%
weighted brightness
Luminance
0.6876
WCAG relative
Temperature
Cool
73/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.75:1
Closest name
Spring Green
ΔE2000 2.6
Where it sits
Hue145° of 360°
Saturation98%
Lightness49%
Temperature
Warm ← → Cool73% 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#02f968
RGBrgb(2, 249, 104)
HSLhsl(145, 98%, 49%)
CMYKcmyk(99%, 0%, 58%, 2%)
LABlab(86.4 -78.2 55.0)
LCHlch(86.4 95.6 144.9)
OKLCHoklch(0.857 0.247 148.2)
Decimal194920
Display P3color(display-p3 0.008 0.976 0.408)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#02f968 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#02f968 on black: 14.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBE259
deuteranopia · #E5D274
tritanopia · #00F4D9

Color scale — 50 to 950

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

#F1FEF6
#E3FCEE
#C1FBD9
#90FEBD
#58FE9C
#20FD7C
#02f968
#02CA55
#01A244
#067534
#044920
Base = 600Lightest = 50 · #F1FEF6Darkest = 950 · #044920
:root {
  --brand-50: #F1FEF6;
  --brand-100: #E3FCEE;
  --brand-200: #C1FBD9;
  --brand-300: #90FEBD;
  --brand-400: #58FE9C;
  --brand-500: #20FD7C;
  --brand-600: #02f968;
  --brand-700: #02CA55;
  --brand-800: #01A244;
  --brand-900: #067534;
  --brand-950: #044920;
  --brand: #02f968;
  --brand-ink: #000000;
}

Colors that work with #02f968

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#C0EDD2
Hairlines and dividers
Muted text#4B9B6C
Captions on the surface
Accent#FB00D2
Second voice, not a rival
Dark variant#017E35
Hover, pressed, headers
Light variant#E6FFF0
Selected rows, tints
Dark surface#14241B
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 #02f968

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#F90293
Analogous left#17F902
Analogous right#02F9E4
Split-complement 1#E402F9
Split-complement 2#F90217
Triadic 1#6802F9
Triadic 2#F96802
Tetradic#0217F9

RGB percentages

Red0.8%
Green97.6%
Blue40.8%

CMYK percentages

Cyan99.2%
Magenta0.0%
Yellow58.2%
Key (black)2.4%

Color previews

#02f968 text on a black background

contrast 14.75:1

Card sample

#02f968 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #02f968

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.

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

#02f968, answered

What color is #02f968?

#02f968 is a balanced electric green, closest to Spring Green (ΔE2000 2.6). It sits at 145° on the hue wheel with 98% saturation and 49% lightness, which reads as cool.

What is the RGB value of #02f968?

rgb(2, 249, 104) — 2 red, 249 green and 104 blue out of 255, or 0.8% / 97.6% / 40.8% by channel.

Is #02f968 a light or a dark color?

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

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

Black. It scores 14.75:1 against #02f968, versus 1.42:1 for white — AAA at any size.

What is the complementary color of #02f968?

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

What colors go well with #02f968?

For interface work: #F4FAF7 as the surface, #C0EDD2 for borders, #4B9B6C for secondary text, #FB00D2 as an accent and #017E35 for hover and pressed states. For a palette, the analogous pair #17F902 and #02F9E4 stays calm, while #F90293 is the loudest partner.

What is #02f968 in CMYK for printing?

cmyk(99%, 0%, 58%, 2%). 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 #02f968 warm or cool?

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

Work with #02f968 in the Color Lab