Skip to content

#05df8c

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

RGB
5, 223, 140
HSL
157°, 96%, 45%
CMYK
98, 0, 37, 13
Luminance
0.5470

At a glance

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

Hex
#05df8c
Hue
157°
green
Saturation
96%
electric
Lightness
45%
dark
Brightness
87%
HSV value
Perceived
70%
weighted brightness
Luminance
0.5470
WCAG relative
Temperature
Cool
78/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.94:1
Closest name
Medium Spring Green
ΔE2000 6
Where it sits
Hue157° of 360°
Saturation96%
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#05df8c
RGBrgb(5, 223, 140)
HSLhsl(157, 96%, 45%)
CMYKcmyk(98%, 0%, 37%, 13%)
LABlab(78.9 -64.1 28.3)
LCHlch(78.9 70.0 156.2)
OKLCHoklch(0.796 0.187 157.7)
Decimal384908
Display P3color(display-p3 0.020 0.875 0.549)

Copy-ready code

/* CSS */
color: #05df8c;
background-color: #05df8c;
/* Tailwind (arbitrary) */
class="text-[#05df8c] bg-[#05df8c]"
/* SCSS */
$brand: #05df8c;
/* SwiftUI */
Color(red: 0.020, green: 0.875, blue: 0.549)
/* Android */
Color.parseColor("#05df8c")
/* Flutter */
Color(0xFF05DF8C)
/* Python / OpenCV (BGR) */
(140, 223, 5)

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

Accessibility — WCAG contrast

Aa
#05df8c on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#05df8c on black: 11.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DDCC87
deuteranopia · #C8BD92
tritanopia · #00DDCA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #05df8c 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
#E4FCF3
#C1FAE5
#91FDD4
#5AFBBE
#24FAA9
#05df8c
#04C87D
#04A064
#07734A
#05482E
Base = 600Lightest = 50 · #F1FDF9Darkest = 950 · #05482E
:root {
  --brand-50: #F1FDF9;
  --brand-100: #E4FCF3;
  --brand-200: #C1FAE5;
  --brand-300: #91FDD4;
  --brand-400: #5AFBBE;
  --brand-500: #24FAA9;
  --brand-600: #05df8c;
  --brand-700: #04C87D;
  --brand-800: #04A064;
  --brand-900: #07734A;
  --brand-950: #05482E;
  --brand: #05df8c;
  --brand-ink: #000000;
}

Colors that work with #05df8c

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#4B9B7C
Captions on the surface
Accent#E40090
Second voice, not a rival
Dark variant#037D4E
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 #05df8c

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#DF0558
Analogous left#05DF1F
Analogous right#05C5DF
Split-complement 1#DF05C5
Split-complement 2#DF1F05
Triadic 1#8C05DF
Triadic 2#DF8C05
Tetradic#1F05DF

RGB percentages

Red2.0%
Green87.5%
Blue54.9%

CMYK percentages

Cyan97.8%
Magenta0.0%
Yellow37.2%
Key (black)12.5%

Color previews

#05df8c text on a black background

contrast 11.94:1

Card sample

#05df8c text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #05df8c;
Background color
Panel with #05df8c background
background-color: #05df8c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #05df8c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(5, 223, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 223, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #05df8c;
background: linear-gradient(135deg, #05df8c, #05A0DF);

Monochromatic scale

Palettes built from #05df8c

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.

#05df8c 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.

#05df8c, answered

What color is #05df8c?

#05df8c is a dark electric green, closest to Medium Spring Green (ΔE2000 6). It sits at 157° on the hue wheel with 96% saturation and 45% lightness, which reads as cool.

What is the RGB value of #05df8c?

rgb(5, 223, 140) — 5 red, 223 green and 140 blue out of 255, or 2% / 87.5% / 54.9% by channel.

Is #05df8c a light or a dark color?

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

Should I use black or white text on #05df8c?

Black. It scores 11.94:1 against #05df8c, versus 1.76:1 for white — AAA at any size.

What is the complementary color of #05df8c?

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

What colors go well with #05df8c?

For interface work: #F4FAF8 as the surface, #C0EDDC for borders, #4B9B7C for secondary text, #E40090 as an accent and #037D4E for hover and pressed states. For a palette, the analogous pair #05DF1F and #05C5DF stays calm, while #DF0558 is the loudest partner.

What is #05df8c in CMYK for printing?

cmyk(98%, 0%, 37%, 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 #05df8c 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 #05DF3C; nudged cooler, #03E1DE.

Work with #05df8c in the Color Lab