Skip to content

#0cf2f0

a balanced, electric cyan · cool · closest name: cyan

RGB
12, 242, 240
HSL
180°, 91%, 50%
CMYK
95, 0, 1, 5
Luminance
0.6987

Every format

HEX#0cf2f0
RGBrgb(12, 242, 240)
HSLhsl(180, 91%, 50%)
CMYKcmyk(95%, 0%, 1%, 5%)
LABlab(86.9 -46.5 -12.6)
LCHlch(86.9 48.2 195.1)
OKLCHoklch(0.870 0.148 193.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cf2f0 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#0cf2f0 on black: 14.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green94.9%
Blue94.1%

CMYK percentages

Cyan95.0%
Magenta0.0%
Yellow0.8%
Key (black)5.1%

Color previews

#0cf2f0 text on a black background

contrast 14.97:1

Card sample

#0cf2f0 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cf2f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cf2f0 in the Color Lab