Skip to content

#0acd2f

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

RGB
10, 205, 47
HSL
131°, 91%, 42%
CMYK
95, 0, 77, 20
Luminance
0.4393

Every format

HEX#0acd2f
RGBrgb(10, 205, 47)
HSLhsl(131, 91%, 42%)
CMYKcmyk(95%, 0%, 77%, 20%)
LABlab(72.2 -70.9 61.9)
LCHlch(72.2 94.1 138.9)
OKLCHoklch(0.737 0.236 144.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0acd2f on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#0acd2f on black: 9.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.9%
Green80.4%
Blue18.4%

CMYK percentages

Cyan95.1%
Magenta0.0%
Yellow77.1%
Key (black)19.6%

Color previews

#0acd2f text on a black background

contrast 9.79:1

Card sample

#0acd2f text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0acd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0acd2f in the Color Lab