Skip to content

#06df78

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

RGB
6, 223, 120
HSL
152°, 95%, 45%
CMYK
97, 0, 46, 13
Luminance
0.5417

At a glance

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

Hex
#06df78
Hue
152°
green
Saturation
95%
electric
Lightness
45%
dark
Brightness
87%
HSV value
Perceived
69%
weighted brightness
Luminance
0.5417
WCAG relative
Temperature
Cool
76/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.83:1
Closest name
Medium Spring Green
ΔE2000 6.4
Where it sits
Hue152° of 360°
Saturation95%
Lightness45%
Temperature
Warm ← → Cool76% 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#06df78
RGBrgb(6, 223, 120)
HSLhsl(152, 95%, 45%)
CMYKcmyk(97%, 0%, 46%, 13%)
LABlab(78.6 -67.7 37.9)
LCHlch(78.6 77.6 150.7)
OKLCHoklch(0.792 0.204 152.9)
Decimal450424
Display P3color(display-p3 0.024 0.875 0.471)

Copy-ready code

/* CSS */
color: #06df78;
background-color: #06df78;
/* Tailwind (arbitrary) */
class="text-[#06df78] bg-[#06df78]"
/* SCSS */
$brand: #06df78;
/* SwiftUI */
Color(red: 0.024, green: 0.875, blue: 0.471)
/* Android */
Color.parseColor("#06df78")
/* Flutter */
Color(0xFF06DF78)
/* Python / OpenCV (BGR) */
(120, 223, 6)

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

Accessibility — WCAG contrast

Aa
#06df78 on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#06df78 on black: 11.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DFCB70
deuteranopia · #CABC7F
tritanopia · #00DCC6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #06df78 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
#E4FBF0
#C2FADF
#92FCCA
#5BFBAF
#24F994
#06df78
#05C76B
#049F55
#087340
#054828
Base = 600Lightest = 50 · #F1FDF8Darkest = 950 · #054828
:root {
  --brand-50: #F1FDF8;
  --brand-100: #E4FBF0;
  --brand-200: #C2FADF;
  --brand-300: #92FCCA;
  --brand-400: #5BFBAF;
  --brand-500: #24F994;
  --brand-600: #06df78;
  --brand-700: #05C76B;
  --brand-800: #049F55;
  --brand-900: #087340;
  --brand-950: #054828;
  --brand: #06df78;
  --brand-ink: #000000;
}

Colors that work with #06df78

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#C0EDD7
Hairlines and dividers
Muted text#4B9B75
Captions on the surface
Accent#E401A5
Second voice, not a rival
Dark variant#037C43
Hover, pressed, headers
Light variant#E6FEF3
Selected rows, tints
Dark surface#14241C
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 #06df78

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#DF066D
Analogous left#06DF0B
Analogous right#06DADF
Split-complement 1#DF06DA
Split-complement 2#DF0B06
Triadic 1#7806DF
Triadic 2#DF7806
Tetradic#0B06DF

RGB percentages

Red2.4%
Green87.5%
Blue47.1%

CMYK percentages

Cyan97.3%
Magenta0.0%
Yellow46.2%
Key (black)12.5%

Color previews

#06df78 text on a black background

contrast 11.83:1

Card sample

#06df78 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #06df78;
Background color
Panel with #06df78 background
background-color: #06df78;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #06df78;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(6, 223, 120, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(6, 223, 120, 0.45);
Border & gradient
Gradient panel
border: 3px solid #06df78;
background: linear-gradient(135deg, #06df78, #06B5DF);

Monochromatic scale

Palettes built from #06df78

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.

#06df78 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.

#06df78, answered

What color is #06df78?

#06df78 is a dark electric green, closest to Medium Spring Green (ΔE2000 6.4). It sits at 152° on the hue wheel with 95% saturation and 45% lightness, which reads as cool.

What is the RGB value of #06df78?

rgb(6, 223, 120) — 6 red, 223 green and 120 blue out of 255, or 2.4% / 87.5% / 47.1% by channel.

Is #06df78 a light or a dark color?

It is a light color. Relative luminance is 0.5417 and perceived brightness is 69%, so black text on it reaches 11.83:1.

Should I use black or white text on #06df78?

Black. It scores 11.83:1 against #06df78, versus 1.77:1 for white — AAA at any size.

What is the complementary color of #06df78?

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

What colors go well with #06df78?

For interface work: #F4FAF8 as the surface, #C0EDD7 for borders, #4B9B75 for secondary text, #E401A5 as an accent and #037C43 for hover and pressed states. For a palette, the analogous pair #06DF0B and #06DADF stays calm, while #DF066D is the loudest partner.

What is #06df78 in CMYK for printing?

cmyk(97%, 0%, 46%, 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 #06df78 warm or cool?

Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #06DF28; nudged cooler, #04E1C9.

Work with #06df78 in the Color Lab