Skip to content

#0fcc2f

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

RGB
15, 204, 47
HSL
130°, 86%, 43%
CMYK
93, 0, 77, 20
Luminance
0.4349

Every format

HEX#0fcc2f
RGBrgb(15, 204, 47)
HSLhsl(130, 86%, 43%)
CMYKcmyk(93%, 0%, 77%, 20%)
LABlab(71.9 -70.4 61.6)
LCHlch(71.9 93.5 138.8)
OKLCHoklch(0.735 0.235 144.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0fcc2f on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#0fcc2f on black: 9.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green80.0%
Blue18.4%

CMYK percentages

Cyan92.6%
Magenta0.0%
Yellow77.0%
Key (black)20.0%

Color previews

#0fcc2f text on a black background

contrast 9.70:1

Card sample

#0fcc2f text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0fcc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0fcc2f in the Color Lab