Skip to content

#0df402

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

RGB
13, 244, 2
HSL
117°, 98%, 48%
CMYK
95, 0, 99, 4
Luminance
0.6479

Every format

HEX#0df402
RGBrgb(13, 244, 2)
HSLhsl(117, 98%, 48%)
CMYKcmyk(95%, 0%, 99%, 4%)
LABlab(84.4 -82.9 80.3)
LCHlch(84.4 115.5 135.9)
OKLCHoklch(0.839 0.284 142.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red5.1%
Green95.7%
Blue0.8%

CMYK percentages

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

Color previews

#0df402 text on a black background

contrast 13.96:1

Card sample

#0df402 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0df402

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0df402 in the Color Lab