Skip to content

#0fcb2f

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

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

Every format

HEX#0fcb2f
RGBrgb(15, 203, 47)
HSLhsl(130, 86%, 43%)
CMYKcmyk(93%, 0%, 77%, 20%)
LABlab(71.6 -70.1 61.3)
LCHlch(71.6 93.1 138.9)
OKLCHoklch(0.732 0.234 144.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0fcb2f on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#0fcb2f on black: 9.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green79.6%
Blue18.4%

CMYK percentages

Cyan92.6%
Magenta0.0%
Yellow76.8%
Key (black)20.4%

Color previews

#0fcb2f text on a black background

contrast 9.60:1

Card sample

#0fcb2f text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0fcb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0fcb2f in the Color Lab