Skip to content

#0fdf40

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

RGB
15, 223, 64
HSL
134°, 87%, 47%
CMYK
93, 0, 71, 13
Luminance
0.5325

Every format

HEX#0fdf40
RGBrgb(15, 223, 64)
HSLhsl(134, 87%, 47%)
CMYKcmyk(93%, 0%, 71%, 13%)
LABlab(78.0 -74.5 61.9)
LCHlch(78.0 96.9 140.3)
OKLCHoklch(0.786 0.245 144.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0fdf40 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#0fdf40 on black: 11.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green87.5%
Blue25.1%

CMYK percentages

Cyan93.3%
Magenta0.0%
Yellow71.3%
Key (black)12.5%

Color previews

#0fdf40 text on a black background

contrast 11.65:1

Card sample

#0fdf40 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0fdf40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0fdf40 in the Color Lab