Skip to content

#40c409

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

RGB
64, 196, 9
HSL
102°, 91%, 40%
CMYK
67, 0, 95, 23
Luminance
0.4059

At a glance

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

Hex
#40c409
Hue
102°
green
Saturation
91%
electric
Lightness
40%
dark
Brightness
77%
HSV value
Perceived
60%
weighted brightness
Luminance
0.4059
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Green
Tone
Electric
Best ink
Black
9.12:1
Closest name
Lime Green
ΔE2000 3.3
Where it sits
Hue102° of 360°
Saturation91%
Lightness40%
Temperature
Warm ← → Cool55% 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#40c409
RGBrgb(64, 196, 9)
HSLhsl(102, 91%, 40%)
CMYKcmyk(67%, 0%, 95%, 23%)
LABlab(69.9 -63.7 68.2)
LCHlch(69.9 93.3 133.0)
OKLCHoklch(0.720 0.229 139.9)
Decimal4244489
Display P3color(display-p3 0.251 0.769 0.035)

Copy-ready code

/* CSS */
color: #40c409;
background-color: #40c409;
/* Tailwind (arbitrary) */
class="text-[#40c409] bg-[#40c409]"
/* SCSS */
$brand: #40c409;
/* SwiftUI */
Color(red: 0.251, green: 0.769, blue: 0.035)
/* Android */
Color.parseColor("#40c409")
/* Flutter */
Color(0xFF40C409)
/* Python / OpenCV (BGR) */
(9, 196, 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 #40c409 · 9.12:1
Use #000000AAA at every size.
Aa
White text · 2.30:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.12:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #40c409 as text scores 2.30:1 on white and 9.12:1 on black.

Accessibility — WCAG contrast

Aa
#40c409 on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#40c409 on black: 9.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CAB100
deuteranopia · #BAA72D
tritanopia · #28BDA6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #40c409 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5FDF2
#EBFBE5
#D3F9C3
#B2FA94
#8BF85E
#65F528
#4CEA0B
#40c409
#339C07
#28710A
#194606
Base = 700Lightest = 50 · #F5FDF2Darkest = 950 · #194606
:root {
  --brand-50: #F5FDF2;
  --brand-100: #EBFBE5;
  --brand-200: #D3F9C3;
  --brand-300: #B2FA94;
  --brand-400: #8BF85E;
  --brand-500: #65F528;
  --brand-600: #4CEA0B;
  --brand-700: #40c409;
  --brand-800: #339C07;
  --brand-900: #28710A;
  --brand-950: #194606;
  --brand: #40c409;
  --brand-ink: #000000;
}

Colors that work with #40c409

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#CDEDC0
Hairlines and dividers
Muted text#629B4B
Captions on the surface
Accent#5E05C8
Second voice, not a rival
Dark variant#287A06
Hover, pressed, headers
Light variant#EDFEE7
Selected rows, tints
Dark surface#192414
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 #40c409

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#8D09C4
Analogous left#9DC409
Analogous right#09C430
Split-complement 1#3009C4
Split-complement 2#C4099D
Triadic 1#0940C4
Triadic 2#C40940
Tetradic#099DC4

RGB percentages

Red25.1%
Green76.9%
Blue3.5%

CMYK percentages

Cyan67.3%
Magenta0.0%
Yellow95.4%
Key (black)23.1%

Color previews

#40c409 text on a black background

contrast 9.12:1

Card sample

#40c409 text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 196, 9, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 196, 9, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40c409;
background: linear-gradient(135deg, #40c409, #09C44F);

Monochromatic scale

Palettes built from #40c409

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.

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

#40c409, answered

What color is #40c409?

#40c409 is a dark electric green, closest to Lime Green (ΔE2000 3.3). It sits at 102° on the hue wheel with 91% saturation and 40% lightness, which reads as neutral.

What is the RGB value of #40c409?

rgb(64, 196, 9) — 64 red, 196 green and 9 blue out of 255, or 25.1% / 76.9% / 3.5% by channel.

Is #40c409 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4059 and perceived brightness is 60%, so black text on it reaches 9.12:1.

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

Black. It scores 9.12:1 against #40c409, versus 2.30:1 for white — AAA at any size.

What is the complementary color of #40c409?

#8D09C4 sits directly opposite on the wheel. Softer options are the split-complements #3009C4 and #C4099D, which give the same contrast with far less vibration.

What colors go well with #40c409?

For interface work: #F6FAF4 as the surface, #CDEDC0 for borders, #629B4B for secondary text, #5E05C8 as an accent and #287A06 for hover and pressed states. For a palette, the analogous pair #9DC409 and #09C430 stays calm, while #8D09C4 is the loudest partner.

What is #40c409 in CMYK for printing?

cmyk(67%, 0%, 95%, 23%). 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 #40c409 warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #84C409; nudged cooler, #07C615.

Work with #40c409 in the Color Lab