Skip to content

#0df031

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

RGB
13, 240, 49
HSL
130°, 90%, 50%
CMYK
95, 0, 80, 6
Luminance
0.6263

Every format

HEX#0df031
RGBrgb(13, 240, 49)
HSLhsl(130, 90%, 50%)
CMYKcmyk(95%, 0%, 80%, 6%)
LABlab(83.2 -80.4 71.8)
LCHlch(83.2 107.8 138.2)
OKLCHoklch(0.829 0.270 143.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0df031 on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#0df031 on black: 13.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.1%
Green94.1%
Blue19.2%

CMYK percentages

Cyan94.6%
Magenta0.0%
Yellow79.6%
Key (black)5.9%

Color previews

#0df031 text on a black background

contrast 13.53:1

Card sample

#0df031 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0df031

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0df031 in the Color Lab