Skip to content

#0cdf92

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

RGB
12, 223, 146
HSL
158°, 90%, 46%
CMYK
95, 0, 35, 13
Luminance
0.5493

Every format

HEX#0cdf92
RGBrgb(12, 223, 146)
HSLhsl(158, 90%, 46%)
CMYKcmyk(95%, 0%, 35%, 13%)
LABlab(79.0 -62.6 25.3)
LCHlch(79.0 67.6 158.0)
OKLCHoklch(0.797 0.181 159.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cdf92 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#0cdf92 on black: 11.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green87.5%
Blue57.3%

CMYK percentages

Cyan94.6%
Magenta0.0%
Yellow34.5%
Key (black)12.5%

Color previews

#0cdf92 text on a black background

contrast 11.99:1

Card sample

#0cdf92 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cdf92

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cdf92 in the Color Lab