Skip to content

#04eb4d

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

RGB
4, 235, 77
HSL
139°, 97%, 47%
CMYK
98, 0, 67, 8
Luminance
0.5998

At a glance

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

Hex
#04eb4d
Hue
139°
green
Saturation
97%
electric
Lightness
47%
balanced
Brightness
92%
HSV value
Perceived
71%
weighted brightness
Luminance
0.5998
WCAG relative
Temperature
Cool
70/100 cool
Color family
Green
Tone
Electric
Best ink
Black
13.00:1
Closest name
Spring Green
ΔE2000 6
Where it sits
Hue139° of 360°
Saturation97%
Lightness47%
Temperature
Warm ← → Cool70% 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#04eb4d
RGBrgb(4, 235, 77)
HSLhsl(139, 97%, 47%)
CMYKcmyk(98%, 0%, 67%, 8%)
LABlab(81.8 -77.1 61.1)
LCHlch(81.8 98.4 141.6)
OKLCHoklch(0.818 0.251 145.8)
Decimal322381
Display P3color(display-p3 0.016 0.922 0.302)

Copy-ready code

/* CSS */
color: #04eb4d;
background-color: #04eb4d;
/* Tailwind (arbitrary) */
class="text-[#04eb4d] bg-[#04eb4d]"
/* SCSS */
$brand: #04eb4d;
/* SwiftUI */
Color(red: 0.016, green: 0.922, blue: 0.302)
/* Android */
Color.parseColor("#04eb4d")
/* Flutter */
Color(0xFF04EB4D)
/* Python / OpenCV (BGR) */
(77, 235, 4)

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

Accessibility — WCAG contrast

Aa
#04eb4d on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#04eb4d on black: 13.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EFD437
deuteranopia · #DAC65C
tritanopia · #00E5CB

Color scale — 50 to 950

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

#F1FDF5
#E4FCEB
#C1FBD3
#91FDB3
#59FC8D
#22FB67
#04eb4d
#03C942
#03A135
#077429
#04481A
Base = 600Lightest = 50 · #F1FDF5Darkest = 950 · #04481A
:root {
  --brand-50: #F1FDF5;
  --brand-100: #E4FCEB;
  --brand-200: #C1FBD3;
  --brand-300: #91FDB3;
  --brand-400: #59FC8D;
  --brand-500: #22FB67;
  --brand-600: #04eb4d;
  --brand-700: #03C942;
  --brand-800: #03A135;
  --brand-900: #077429;
  --brand-950: #04481A;
  --brand: #04eb4d;
  --brand-ink: #000000;
}

Colors that work with #04eb4d

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#F4FAF6
Tinted page background
Border#C0EDCE
Hairlines and dividers
Muted text#4B9B64
Captions on the surface
Accent#EF00DF
Second voice, not a rival
Dark variant#027D29
Hover, pressed, headers
Light variant#E6FFEE
Selected rows, tints
Dark surface#142419
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 #04eb4d

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#EB04A2
Analogous left#2EEB04
Analogous right#04EBC1
Split-complement 1#C104EB
Split-complement 2#EB042E
Triadic 1#4D04EB
Triadic 2#EB4D04
Tetradic#042EEB

RGB percentages

Red1.6%
Green92.2%
Blue30.2%

CMYK percentages

Cyan98.3%
Magenta0.0%
Yellow67.2%
Key (black)7.8%

Color previews

#04eb4d text on a black background

contrast 13.00:1

Card sample

#04eb4d text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #04eb4d;
Background color
Panel with #04eb4d background
background-color: #04eb4d;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #04eb4d;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #04eb4d

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.

#04eb4d 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.

#04eb4d, answered

What color is #04eb4d?

#04eb4d is a balanced electric green, closest to Spring Green (ΔE2000 6). It sits at 139° on the hue wheel with 97% saturation and 47% lightness, which reads as cool.

What is the RGB value of #04eb4d?

rgb(4, 235, 77) — 4 red, 235 green and 77 blue out of 255, or 1.6% / 92.2% / 30.2% by channel.

Is #04eb4d a light or a dark color?

It is a light color. Relative luminance is 0.5998 and perceived brightness is 71%, so black text on it reaches 13.00:1.

Should I use black or white text on #04eb4d?

Black. It scores 13.00:1 against #04eb4d, versus 1.62:1 for white — AAA at any size.

What is the complementary color of #04eb4d?

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

What colors go well with #04eb4d?

For interface work: #F4FAF6 as the surface, #C0EDCE for borders, #4B9B64 for secondary text, #EF00DF as an accent and #027D29 for hover and pressed states. For a palette, the analogous pair #2EEB04 and #04EBC1 stays calm, while #EB04A2 is the loudest partner.

What is #04eb4d in CMYK for printing?

cmyk(98%, 0%, 67%, 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 #04eb4d warm or cool?

Cool — it scores 70 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #10EB04; nudged cooler, #02EEA3.

Work with #04eb4d in the Color Lab