Skip to content

#0df021

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

RGB
13, 240, 33
HSL
125°, 90%, 50%
CMYK
95, 0, 86, 6
Luminance
0.6252

Every format

HEX#0df021
RGBrgb(13, 240, 33)
HSLhsl(125, 90%, 50%)
CMYKcmyk(95%, 0%, 86%, 6%)
LABlab(83.2 -81.2 75.5)
LCHlch(83.2 110.9 137.0)
OKLCHoklch(0.829 0.275 143.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0df021 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#0df021 on black: 13.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.1%
Green94.1%
Blue12.9%

CMYK percentages

Cyan94.6%
Magenta0.0%
Yellow86.3%
Key (black)5.9%

Color previews

#0df021 text on a black background

contrast 13.50:1

Card sample

#0df021 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0df021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0df021 in the Color Lab