Colors · value from the xkcd color survey (2010)
Neon green color: hex code #0CFF0C, RGB and palettes
Neon green is #0CFF0C (RGB 12, 255, 12), the xkcd survey value: a glaring pure green close to CSS lime. Black text on it reaches 15.32:1, but as text on white it is only 1.37:1.
- HEX
#0CFF0C- RGB
rgb(12, 255, 12)- HSL
hsl(120, 100%, 52%)
Best text on it: black at 15.32:1
Every code for Neon green
- HEX
#0CFF0C - RGB
rgb(12, 255, 12) - HSL
hsl(120, 100%, 52%) - HSV
120°, 95%, 100% - CMYK
95%, 0%, 95%, 0% - Lab
lab(87.9% -78.8 80.2) - OKLCH
oklch(86.7% 0.293 142.5) - Decimal
851724
Tints, shades and tones
From white to black in 10% steps, with Neon green in the middle. Tap a code to copy it.
- 90%#E7FFE7
- 80%#CEFFCE
- 70%#B6FFB6
- 60%#9EFF9E
- 50%#86FF86
- 40%#6DFF6D
- 30%#55FF55
- 20%#3DFF3D
- 10%#24FF24
- Base#0CFF0C
- 10%#0BE60B
- 20%#0ACC0A
- 30%#08B308
- 40%#079907
- 50%#068006
- 60%#056605
- 70%#044D04
- 80%#023302
- 90%#011A01
Tones (mixed with gray)
- 10%#18F218
- 20%#23E623
- 30%#2FD92F
- 40%#3ACC3A
- 50%#46C046
- 60%#52B352
- 70%#5DA65D
- 80%#699969
- 90%#748D74
Matching colors
Neon green in 3D color space
OKLab, the space ColorPlum does its math in: lightness runs up the pole, hue goes around it and saturation grows outward. The faint shell is every color a screen can show (saturation is drawn wider than lightness so hues separate). Drag to turn it.
- Neon green
- Triad #0C0CFF
- Triad #FF0C0C
- Complement
- 50% tint
- 50% shade
Neon green in use
Card body text stays dark for reading; neon green carries the header and the button.
Shop nowTagHeadline in Neon green
A paragraph with a link in dark text, because this color is too light for text on white; use it for fills instead.
How it looks with color-vision deficiency
A simulation (Machado and colleagues, 2009) of how the color and its complement read without one type of cone.
- Typical color vision
#0CFF0C - Protanopia (no red cones)
#FFE500 - Deuteranopia (no green cones)
#EFD63D - Tritanopia (no blue cones)
#00F7D9
Contrast and readability
| Pairing | Ratio | WCAG 2.2 |
|---|---|---|
| as text on white | 1.37:1 | AA AA large AAA |
| as text on black | 15.32:1 | AA AA large AAA |
| white text on it | 1.37:1 | AA AA large AAA |
| black text on it | 15.32:1 | AA AA large AAA |
| on your background | 1.19:1 | AA AA large AAA |
Export
:root {
--neon-green: #0cff0c;
--neon-green-rgb: 12 255 12;
--neon-green-on: #000000;
}On this page
Neon green is about as green as a screen can get. The page shows #0CFF0C, taken from the xkcd color survey, where the most common answer for this name was almost pure green with only a trace of red and blue. It is essentially the same as the CSS keyword lime, which is #00FF00.
Reading the numbers
The RGB values are 12, 255, 12, and the HSL reading is hue 120°, 100% saturation, 52% lightness. CMYK shows 95%, 0%, 95%, 0%, but inks can't match this brightness, so printed neon green is noticeably duller than a screen. The decimal value is 851724. In OKLCH the chroma is 0.293, which is extremely high.
The survey has many names for this same color: "bright green" (#01FF07), "fluorescent green" (#08FF08) and "fluro green" (#0AFF02) are each about 0.1 away in OKLab, which is too close to see. The CSS lime is 0.2 away, so you can safely write lime when you want this look. The other CSS greens are further: lawngreen is 4.5 away, chartreuse 4.8 and springgreen 7.0, and all of them lean yellow or blue.
Contrast rules
Neon green behaves like a light source, so it needs a dark setting.
- On black: 15.32:1. On dark gray #1A1A1A it measures 12.70:1.
- On white: 1.37:1, essentially invisible.
- Text on it: black, at 15.32:1. White only manages 1.37:1.
- Dark partners: the shade #011A01 under green text is 13.33:1. A deeper green, #044D04, holds white text at 10.15:1.
The complement is magenta (#FF0CFF), which makes a loud pair. Triadic partners are pure blue (#0C0CFF) and red (#FF0C0C). A smoother route is the analogous pair: lime-yellow #86FF0C and aqua-green #0CFF86.
Worked example
Say you are making numbers for a charity night run, and the organizers want participants to be visible in the dark. The printed bibs use neon green as a background with big black numerals at 15.32:1. For the event website you flip it: a dark #011A01 band with the headline in neon green and the schedule in white. For small text such as the route notes you avoid green altogether. If you need a green button on a white page, use the shade #056605, where white text measures 7.21:1, and keep neon green only for the glow around the logo.
Related colors
For softer greens try mint or pastel green, and for a woodland tone, hunter green. The shade and tint generator can build darker greens from this one.
Sources
- xkcd, Color survey results: the 954 most common color names (Randall Munroe, 2010; checked 2026-11-10) xkcd.com
- xkcd, Color survey results (blog post by Randall Munroe, 2010; checked 2026-11-10) blog.xkcd.com
- W3C, CSS Color Module Level 4: named colors (checked 2026-11-10) w3.org
- W3C, Web Content Accessibility Guidelines (WCAG) 2.2: contrast minimum (checked 2026-11-10) w3.org