Skip to content

#40df16

a balanced, electric green · neutral · closest name: Lime Green

RGB
64, 223, 22
HSL
108°, 82%, 48%
CMYK
71, 0, 90, 13
Luminance
0.5392

At a glance

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

Hex
#40df16
Hue
108°
green
Saturation
82%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
68%
weighted brightness
Luminance
0.5392
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.78:1
Closest name
Lime Green
ΔE2000 5.1
Where it sits
Hue108° of 360°
Saturation82%
Lightness48%
Temperature
Warm ← → Cool57% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#40df16
RGBrgb(64, 223, 22)
HSLhsl(108, 82%, 48%)
CMYKcmyk(71%, 0%, 90%, 13%)
LABlab(78.4 -71.7 73.6)
LCHlch(78.4 102.8 134.3)
OKLCHoklch(0.790 0.253 140.8)
Decimal4251414
Display P3color(display-p3 0.251 0.875 0.086)

Copy-ready code

/* CSS */
color: #40df16;
background-color: #40df16;
/* Tailwind (arbitrary) */
class="text-[#40df16] bg-[#40df16]"
/* SCSS */
$brand: #40df16;
/* SwiftUI */
Color(red: 0.251, green: 0.875, blue: 0.086)
/* Android */
Color.parseColor("#40df16")
/* Flutter */
Color(0xFF40DF16)
/* Python / OpenCV (BGR) */
(22, 223, 64)

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

Accessibility — WCAG contrast

Aa
#40df16 on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#40df16 on black: 11.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E5C900
deuteranopia · #D3BD37
tritanopia · #13D8BE

Color scale — 50 to 950

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

#F4FCF2
#EAF9E6
#D0F6C6
#ACF599
#83F066
#59EB33
#40df16
#35BA12
#2B950F
#226B0F
#154309
Base = 600Lightest = 50 · #F4FCF2Darkest = 950 · #154309
:root {
  --brand-50: #F4FCF2;
  --brand-100: #EAF9E6;
  --brand-200: #D0F6C6;
  --brand-300: #ACF599;
  --brand-400: #83F066;
  --brand-500: #59EB33;
  --brand-600: #40df16;
  --brand-700: #35BA12;
  --brand-800: #2B950F;
  --brand-900: #226B0F;
  --brand-950: #154309;
  --brand: #40df16;
  --brand-ink: #000000;
}

Colors that work with #40df16

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#F6FAF4
Tinted page background
Border#C9EDC0
Hairlines and dividers
Muted text#5B9B4B
Captions on the surface
Accent#8311E4
Second voice, not a rival
Dark variant#21740B
Hover, pressed, headers
Light variant#ECFDE8
Selected rows, tints
Dark surface#172414
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 #40df16

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#B516DF
Analogous left#A4DF16
Analogous right#16DF51
Split-complement 1#5116DF
Split-complement 2#DF16A4
Triadic 1#1640DF
Triadic 2#DF1640
Tetradic#16A4DF

RGB percentages

Red25.1%
Green87.5%
Blue8.6%

CMYK percentages

Cyan71.3%
Magenta0.0%
Yellow90.1%
Key (black)12.5%

Color previews

#40df16 text on a black background

contrast 11.78:1

Card sample

#40df16 text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #40df16;
Background color
Panel with #40df16 background
background-color: #40df16;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #40df16;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(64, 223, 22, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 223, 22, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40df16;
background: linear-gradient(135deg, #40df16, #16DF72);

Monochromatic scale

Palettes built from #40df16

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.

#40df16 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.

#40df16, answered

What color is #40df16?

#40df16 is a balanced electric green, closest to Lime Green (ΔE2000 5.1). It sits at 108° on the hue wheel with 82% saturation and 48% lightness, which reads as neutral.

What is the RGB value of #40df16?

rgb(64, 223, 22) — 64 red, 223 green and 22 blue out of 255, or 25.1% / 87.5% / 8.6% by channel.

Is #40df16 a light or a dark color?

It is a light color. Relative luminance is 0.5392 and perceived brightness is 68%, so black text on it reaches 11.78:1.

Should I use black or white text on #40df16?

Black. It scores 11.78:1 against #40df16, versus 1.78:1 for white — AAA at any size.

What is the complementary color of #40df16?

#B516DF sits directly opposite on the wheel. Softer options are the split-complements #5116DF and #DF16A4, which give the same contrast with far less vibration.

What colors go well with #40df16?

For interface work: #F6FAF4 as the surface, #C9EDC0 for borders, #5B9B4B for secondary text, #8311E4 as an accent and #21740B for hover and pressed states. For a palette, the analogous pair #A4DF16 and #16DF51 stays calm, while #B516DF is the loudest partner.

What is #40df16 in CMYK for printing?

cmyk(71%, 0%, 90%, 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 #40df16 warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #89DF16; nudged cooler, #14E134.

Work with #40df16 in the Color Lab