Skip to content

#0ff20c

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

RGB
15, 242, 12
HSL
119°, 91%, 50%
CMYK
94, 0, 95, 5
Luminance
0.6363

Every format

HEX#0ff20c
RGBrgb(15, 242, 12)
HSLhsl(119, 91%, 50%)
CMYKcmyk(94%, 0%, 95%, 5%)
LABlab(83.8 -82.2 79.0)
LCHlch(83.8 114.0 136.1)
OKLCHoklch(0.834 0.281 142.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0ff20c on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#0ff20c on black: 13.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green94.9%
Blue4.7%

CMYK percentages

Cyan93.8%
Magenta0.0%
Yellow95.0%
Key (black)5.1%

Color previews

#0ff20c text on a black background

contrast 13.73:1

Card sample

#0ff20c text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0ff20c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0ff20c in the Color Lab