Skip to content

#0ccf49

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

RGB
12, 207, 73
HSL
139°, 89%, 43%
CMYK
94, 0, 65, 19
Luminance
0.4518

Every format

HEX#0ccf49
RGBrgb(12, 207, 73)
HSLhsl(139, 89%, 43%)
CMYKcmyk(94%, 0%, 65%, 19%)
LABlab(73.0 -69.1 53.1)
LCHlch(73.0 87.1 142.5)
OKLCHoklch(0.745 0.223 146.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0ccf49 on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#0ccf49 on black: 10.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green81.2%
Blue28.6%

CMYK percentages

Cyan94.2%
Magenta0.0%
Yellow64.7%
Key (black)18.8%

Color previews

#0ccf49 text on a black background

contrast 10.04:1

Card sample

#0ccf49 text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0ccf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0ccf49 in the Color Lab