Skip to content

#0df80c

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

RGB
13, 248, 12
HSL
120°, 94%, 51%
CMYK
95, 0, 95, 3
Luminance
0.6725

Every format

HEX#0df80c
RGBrgb(13, 248, 12)
HSLhsl(120, 94%, 51%)
CMYKcmyk(95%, 0%, 95%, 3%)
LABlab(85.6 -83.8 80.5)
LCHlch(85.6 116.2 136.1)
OKLCHoklch(0.849 0.287 142.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0df80c on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#0df80c on black: 14.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.1%
Green97.3%
Blue4.7%

CMYK percentages

Cyan94.8%
Magenta0.0%
Yellow95.2%
Key (black)2.7%

Color previews

#0df80c text on a black background

contrast 14.45:1

Card sample

#0df80c text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0df80c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0df80c in the Color Lab