Skip to content

#06df7c

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

RGB
6, 223, 124
HSL
153°, 95%, 45%
CMYK
97, 0, 44, 13
Luminance
0.5427

At a glance

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

Hex
#06df7c
Hue
153°
green
Saturation
95%
electric
Lightness
45%
dark
Brightness
87%
HSV value
Perceived
69%
weighted brightness
Luminance
0.5427
WCAG relative
Temperature
Cool
76/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.85:1
Closest name
Medium Spring Green
ΔE2000 6.2
Where it sits
Hue153° 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#06df7c
RGBrgb(6, 223, 124)
HSLhsl(153, 95%, 45%)
CMYKcmyk(97%, 0%, 44%, 13%)
LABlab(78.6 -67.0 36.0)
LCHlch(78.6 76.1 151.7)
OKLCHoklch(0.793 0.200 153.7)
Decimal450428
Display P3color(display-p3 0.024 0.875 0.486)

Copy-ready code

/* CSS */
color: #06df7c;
background-color: #06df7c;
/* Tailwind (arbitrary) */
class="text-[#06df7c] bg-[#06df7c]"
/* SCSS */
$brand: #06df7c;
/* SwiftUI */
Color(red: 0.024, green: 0.875, blue: 0.486)
/* Android */
Color.parseColor("#06df7c")
/* Flutter */
Color(0xFF06DF7C)
/* Python / OpenCV (BGR) */
(124, 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 #06df7c · 11.85:1
Use #000000AAA at every size.
Aa
White text · 1.77:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.85:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #06df7c as text scores 1.77:1 on white and 11.85:1 on black.

Accessibility — WCAG contrast

Aa
#06df7c on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#06df7c on black: 11.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DFCB75
deuteranopia · #CABD83
tritanopia · #00DCC7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #06df7c 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
#E4FBF1
#C2FAE0
#92FCCC
#5BFBB2
#24F998
#06df7c
#05C76E
#049F58
#087342
#054829
Base = 600Lightest = 50 · #F1FDF8Darkest = 950 · #054829
:root {
  --brand-50: #F1FDF8;
  --brand-100: #E4FBF1;
  --brand-200: #C2FAE0;
  --brand-300: #92FCCC;
  --brand-400: #5BFBB2;
  --brand-500: #24F998;
  --brand-600: #06df7c;
  --brand-700: #05C76E;
  --brand-800: #049F58;
  --brand-900: #087342;
  --brand-950: #054829;
  --brand: #06df7c;
  --brand-ink: #000000;
}

Colors that work with #06df7c

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#C0EDD8
Hairlines and dividers
Muted text#4B9B76
Captions on the surface
Accent#E401A1
Second voice, not a rival
Dark variant#037C45
Hover, pressed, headers
Light variant#E6FEF3
Selected rows, tints
Dark surface#14241D
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 #06df7c

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#DF0669
Analogous left#06DF0F
Analogous right#06D6DF
Split-complement 1#DF06D6
Split-complement 2#DF0F06
Triadic 1#7C06DF
Triadic 2#DF7C06
Tetradic#0F06DF

RGB percentages

Red2.4%
Green87.5%
Blue48.6%

CMYK percentages

Cyan97.3%
Magenta0.0%
Yellow44.4%
Key (black)12.5%

Color previews

#06df7c text on a black background

contrast 11.85:1

Card sample

#06df7c text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #06df7c

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.

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

#06df7c, answered

What color is #06df7c?

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

What is the RGB value of #06df7c?

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

Is #06df7c a light or a dark color?

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

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

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

What is the complementary color of #06df7c?

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

What colors go well with #06df7c?

For interface work: #F4FAF8 as the surface, #C0EDD8 for borders, #4B9B76 for secondary text, #E401A1 as an accent and #037C45 for hover and pressed states. For a palette, the analogous pair #06DF0F and #06D6DF stays calm, while #DF0669 is the loudest partner.

What is #06df7c in CMYK for printing?

cmyk(97%, 0%, 44%, 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 #06df7c 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 #06DF2C; nudged cooler, #04E1CD.

Work with #06df7c in the Color Lab