Skip to content

#06df8f

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

RGB
6, 223, 143
HSL
158°, 95%, 45%
CMYK
97, 0, 36, 13
Luminance
0.5480

At a glance

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

Hex
#06df8f
Hue
158°
green
Saturation
95%
electric
Lightness
45%
dark
Brightness
87%
HSV value
Perceived
70%
weighted brightness
Luminance
0.5480
WCAG relative
Temperature
Cool
78/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.96:1
Closest name
Medium Spring Green
ΔE2000 6.1
Where it sits
Hue158° of 360°
Saturation95%
Lightness45%
Temperature
Warm ← → Cool78% 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#06df8f
RGBrgb(6, 223, 143)
HSLhsl(158, 95%, 45%)
CMYKcmyk(97%, 0%, 36%, 13%)
LABlab(78.9 -63.4 26.8)
LCHlch(78.9 68.9 157.1)
OKLCHoklch(0.797 0.184 158.5)
Decimal450447
Display P3color(display-p3 0.024 0.875 0.561)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#06df8f on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#06df8f on black: 11.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DDCD8A
deuteranopia · #C7BD94
tritanopia · #00DECA

Color scale — 50 to 950

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

#F1FDF9
#E4FBF3
#C2FAE5
#92FCD5
#5BFBC0
#24F9AB
#06df8f
#05C77F
#049F66
#08734B
#05482F
Base = 600Lightest = 50 · #F1FDF9Darkest = 950 · #05482F
:root {
  --brand-50: #F1FDF9;
  --brand-100: #E4FBF3;
  --brand-200: #C2FAE5;
  --brand-300: #92FCD5;
  --brand-400: #5BFBC0;
  --brand-500: #24F9AB;
  --brand-600: #06df8f;
  --brand-700: #05C77F;
  --brand-800: #049F66;
  --brand-900: #08734B;
  --brand-950: #05482F;
  --brand: #06df8f;
  --brand-ink: #000000;
}

Colors that work with #06df8f

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#C0EDDC
Hairlines and dividers
Muted text#4B9B7D
Captions on the surface
Accent#E4018D
Second voice, not a rival
Dark variant#037C50
Hover, pressed, headers
Light variant#E6FEF5
Selected rows, tints
Dark surface#14241E
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 #06df8f

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#DF0656
Analogous left#06DF23
Analogous right#06C2DF
Split-complement 1#DF06C2
Split-complement 2#DF2306
Triadic 1#8F06DF
Triadic 2#DF8F06
Tetradic#2306DF

RGB percentages

Red2.4%
Green87.5%
Blue56.1%

CMYK percentages

Cyan97.3%
Magenta0.0%
Yellow35.9%
Key (black)12.5%

Color previews

#06df8f text on a black background

contrast 11.96:1

Card sample

#06df8f text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #06df8f

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.

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

#06df8f, answered

What color is #06df8f?

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

What is the RGB value of #06df8f?

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

Is #06df8f a light or a dark color?

It is a light color. Relative luminance is 0.5480 and perceived brightness is 70%, so black text on it reaches 11.96:1.

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

Black. It scores 11.96:1 against #06df8f, versus 1.76:1 for white — AAA at any size.

What is the complementary color of #06df8f?

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

What colors go well with #06df8f?

For interface work: #F4FAF8 as the surface, #C0EDDC for borders, #4B9B7D for secondary text, #E4018D as an accent and #037C50 for hover and pressed states. For a palette, the analogous pair #06DF23 and #06C2DF stays calm, while #DF0656 is the loudest partner.

What is #06df8f in CMYK for printing?

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

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

Work with #06df8f in the Color Lab