Skip to content

#0cfdab

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

RGB
12, 253, 171
HSL
160°, 98%, 52%
CMYK
95, 0, 32, 1
Luminance
0.7327

Every format

HEX#0cfdab
RGBrgb(12, 253, 171)
HSLhsl(160, 98%, 52%)
CMYKcmyk(95%, 0%, 32%, 1%)
LABlab(88.6 -68.0 25.6)
LCHlch(88.6 72.7 159.4)
OKLCHoklch(0.878 0.195 160.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cfdab on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#0cfdab on black: 15.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green99.2%
Blue67.1%

CMYK percentages

Cyan95.3%
Magenta0.0%
Yellow32.4%
Key (black)0.8%

Color previews

#0cfdab text on a black background

contrast 15.65:1

Card sample

#0cfdab text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cfdab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cfdab in the Color Lab