Skip to content

#6ff40c

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

RGB
111, 244, 12
HSL
94°, 91%, 50%
CMYK
55, 0, 95, 4
Luminance
0.6811

At a glance

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

Hex
#6ff40c
Hue
94°
green
Saturation
91%
electric
Lightness
50%
balanced
Brightness
96%
HSV value
Perceived
77%
weighted brightness
Luminance
0.6811
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.62:1
Closest name
Lawn Green
ΔE2000 2
Where it sits
Hue94° of 360°
Saturation91%
Lightness50%
Temperature
Warm ← → Cool52% 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#6ff40c
RGBrgb(111, 244, 12)
HSLhsl(94, 91%, 50%)
CMYKcmyk(55%, 0%, 95%, 4%)
LABlab(86.1 -68.5 81.6)
LCHlch(86.1 106.5 130.0)
OKLCHoklch(0.857 0.259 137.3)
Decimal7336972
Display P3color(display-p3 0.435 0.957 0.047)

Copy-ready code

/* CSS */
color: #6ff40c;
background-color: #6ff40c;
/* Tailwind (arbitrary) */
class="text-[#6ff40c] bg-[#6ff40c]"
/* SCSS */
$brand: #6ff40c;
/* SwiftUI */
Color(red: 0.435, green: 0.957, blue: 0.047)
/* Android */
Color.parseColor("#6ff40c")
/* Flutter */
Color(0xFF6FF40C)
/* Python / OpenCV (BGR) */
(12, 244, 111)

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

Accessibility — WCAG contrast

Aa
#6ff40c on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#6ff40c on black: 14.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FCDE00
deuteranopia · #ECD339
tritanopia · #65EBCF

Color scale — 50 to 950

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

#F7FDF2
#EEFBE4
#DAF9C3
#BFFA94
#A0F85E
#80F528
#6ff40c
#58C309
#479C07
#36710A
#224606
Base = 600Lightest = 50 · #F7FDF2Darkest = 950 · #224606
:root {
  --brand-50: #F7FDF2;
  --brand-100: #EEFBE4;
  --brand-200: #DAF9C3;
  --brand-300: #BFFA94;
  --brand-400: #A0F85E;
  --brand-500: #80F528;
  --brand-600: #6ff40c;
  --brand-700: #58C309;
  --brand-800: #479C07;
  --brand-900: #36710A;
  --brand-950: #224606;
  --brand: #6ff40c;
  --brand-ink: #000000;
}

Colors that work with #6ff40c

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#F7FAF4
Tinted page background
Border#D3EDC0
Hairlines and dividers
Muted text#6D9B4B
Captions on the surface
Accent#5507F9
Second voice, not a rival
Dark variant#377A06
Hover, pressed, headers
Light variant#F1FEE7
Selected rows, tints
Dark surface#1B2414
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 #6ff40c

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#910CF4
Analogous left#E3F40C
Analogous right#0CF41D
Split-complement 1#1D0CF4
Split-complement 2#F40CE3
Triadic 1#0C6FF4
Triadic 2#F40C6F
Tetradic#0CE3F4

RGB percentages

Red43.5%
Green95.7%
Blue4.7%

CMYK percentages

Cyan54.5%
Magenta0.0%
Yellow95.1%
Key (black)4.3%

Color previews

#6ff40c text on a black background

contrast 14.62:1

Card sample

#6ff40c text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6ff40c;
Background color
Panel with #6ff40c background
background-color: #6ff40c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6ff40c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(111, 244, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(111, 244, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6ff40c;
background: linear-gradient(135deg, #6ff40c, #0CF444);

Monochromatic scale

Palettes built from #6ff40c

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.

#6ff40c 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.

#6ff40c, answered

What color is #6ff40c?

#6ff40c is a balanced electric green, closest to Lawn Green (ΔE2000 2). It sits at 94° on the hue wheel with 91% saturation and 50% lightness, which reads as neutral.

What is the RGB value of #6ff40c?

rgb(111, 244, 12) — 111 red, 244 green and 12 blue out of 255, or 43.5% / 95.7% / 4.7% by channel.

Is #6ff40c a light or a dark color?

It is a light color. Relative luminance is 0.6811 and perceived brightness is 77%, so black text on it reaches 14.62:1.

Should I use black or white text on #6ff40c?

Black. It scores 14.62:1 against #6ff40c, versus 1.44:1 for white — AAA at any size.

What is the complementary color of #6ff40c?

#910CF4 sits directly opposite on the wheel. Softer options are the split-complements #1D0CF4 and #F40CE3, which give the same contrast with far less vibration.

What colors go well with #6ff40c?

For interface work: #F7FAF4 as the surface, #D3EDC0 for borders, #6D9B4B for secondary text, #5507F9 as an accent and #377A06 for hover and pressed states. For a palette, the analogous pair #E3F40C and #0CF41D stays calm, while #910CF4 is the loudest partner.

What is #6ff40c in CMYK for printing?

cmyk(55%, 0%, 95%, 4%). 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 #6ff40c warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C4F40C; nudged cooler, #18F60A.

Work with #6ff40c in the Color Lab