Skip to content

#0cf0f0

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

RGB
12, 240, 240
HSL
180°, 91%, 49%
CMYK
95, 0, 0, 6
Luminance
0.6869

Every format

HEX#0cf0f0
RGBrgb(12, 240, 240)
HSLhsl(180, 91%, 49%)
CMYKcmyk(95%, 0%, 0%, 6%)
LABlab(86.3 -45.7 -13.4)
LCHlch(86.3 47.6 196.4)
OKLCHoklch(0.865 0.147 194.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cf0f0 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#0cf0f0 on black: 14.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan95.0%
Magenta0.0%
Yellow0.0%
Key (black)5.9%

Color previews

#0cf0f0 text on a black background

contrast 14.74:1

Card sample

#0cf0f0 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cf0f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cf0f0 in the Color Lab