Skip to content

#0ff40c

a balanced, electric green · cool · closest name: lime

RGB
15, 244, 12
HSL
119°, 91%, 50%
CMYK
94, 0, 95, 4
Luminance
0.6483

Every format

HEX#0ff40c
RGBrgb(15, 244, 12)
HSLhsl(119, 91%, 50%)
CMYKcmyk(94%, 0%, 95%, 4%)
LABlab(84.4 -82.7 79.5)
LCHlch(84.4 114.7 136.1)
OKLCHoklch(0.839 0.283 142.5)

Copy-ready code

/* CSS */
color: #0ff40c;
background-color: #0ff40c;
/* Tailwind (arbitrary) */
class="text-[#0ff40c] bg-[#0ff40c]"
/* SCSS */
$brand: #0ff40c;
/* SwiftUI */
Color(red: 0.059, green: 0.957, blue: 0.047)
/* Android */
Color.parseColor("#0ff40c")

Accessibility — WCAG contrast

Aa
#0ff40c on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#0ff40c on black: 13.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green95.7%
Blue4.7%

CMYK percentages

Cyan93.9%
Magenta0.0%
Yellow95.1%
Key (black)4.3%

Color previews

#0ff40c text on a black background

contrast 13.97:1

Card sample

#0ff40c text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0ff40c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0ff40c in the Color Lab