Skip to content

#0df302

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

RGB
13, 243, 2
HSL
117°, 98%, 48%
CMYK
95, 0, 99, 5
Luminance
0.6419

Every format

HEX#0df302
RGBrgb(13, 243, 2)
HSLhsl(117, 98%, 48%)
CMYKcmyk(95%, 0%, 99%, 5%)
LABlab(84.1 -82.7 80.1)
LCHlch(84.1 115.1 135.9)
OKLCHoklch(0.836 0.283 142.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0df302 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#0df302 on black: 13.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.1%
Green95.3%
Blue0.8%

CMYK percentages

Cyan94.7%
Magenta0.0%
Yellow99.2%
Key (black)4.7%

Color previews

#0df302 text on a black background

contrast 13.84:1

Card sample

#0df302 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0df302

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0df302 in the Color Lab