Skip to content

#0cf2dc

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

RGB
12, 242, 220
HSL
174°, 91%, 50%
CMYK
95, 0, 9, 5
Luminance
0.6875

At a glance

Every number on this page in one read: what #0cf2dc is made of, how bright it looks, and which way it leans.

Hex
#0cf2dc
Hue
174°
cyan
Saturation
91%
electric
Lightness
50%
balanced
Brightness
95%
HSV value
Perceived
78%
weighted brightness
Luminance
0.6875
WCAG relative
Temperature
Cool
85/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
14.75:1
Closest name
Turquoise
ΔE2000 4.3
Where it sits
Hue174° of 360°
Saturation91%
Lightness50%
Temperature
Warm ← → Cool85% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#0cf2dc
RGBrgb(12, 242, 220)
HSLhsl(174, 91%, 50%)
CMYKcmyk(95%, 0%, 9%, 5%)
LABlab(86.4 -52.1 -2.9)
LCHlch(86.4 52.2 183.2)
OKLCHoklch(0.864 0.153 183.3)
Decimal848604
Display P3color(display-p3 0.047 0.949 0.863)

Copy-ready code

/* CSS */
color: #0cf2dc;
background-color: #0cf2dc;
/* Tailwind (arbitrary) */
class="text-[#0cf2dc] bg-[#0cf2dc]"
/* SCSS */
$brand: #0cf2dc;
/* SwiftUI */
Color(red: 0.047, green: 0.949, blue: 0.863)
/* Android */
Color.parseColor("#0cf2dc")
/* Flutter */
Color(0xFF0CF2DC)
/* Python / OpenCV (BGR) */
(220, 242, 12)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #0cf2dc · 14.75:1
Use #000000AAA at every size.
Aa
White text · 1.42:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.75:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #0cf2dc as text scores 1.42:1 on white and 14.75:1 on black.

Accessibility — WCAG contrast

Aa
#0cf2dc on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#0cf2dc on black: 14.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E6E3DB
deuteranopia · #CCD0DE
tritanopia · #00F7EB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0cf2dc is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F2FDFC
#E5FBF9
#C3F9F3
#94FAF0
#5FF7E9
#29F4E1
#0cf2dc
#0AC2B1
#089C8D
#0A7067
#064640
Base = 600Lightest = 50 · #F2FDFCDarkest = 950 · #064640
:root {
  --brand-50: #F2FDFC;
  --brand-100: #E5FBF9;
  --brand-200: #C3F9F3;
  --brand-300: #94FAF0;
  --brand-400: #5FF7E9;
  --brand-500: #29F4E1;
  --brand-600: #0cf2dc;
  --brand-700: #0AC2B1;
  --brand-800: #089C8D;
  --brand-900: #0A7067;
  --brand-950: #064640;
  --brand: #0cf2dc;
  --brand-ink: #000000;
}

Colors that work with #0cf2dc

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4FAFA
Tinted page background
Border#C0EDE8
Hairlines and dividers
Muted text#4B9B93
Captions on the surface
Accent#F7075A
Second voice, not a rival
Dark variant#067A6F
Hover, pressed, headers
Light variant#E7FEFC
Selected rows, tints
Dark surface#142423
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #0cf2dc

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#F20C22
Analogous left#0CF269
Analogous right#0C95F2
Split-complement 1#F20C95
Split-complement 2#F2690C
Triadic 1#DC0CF2
Triadic 2#F2DC0C
Tetradic#690CF2

RGB percentages

Red4.7%
Green94.9%
Blue86.3%

CMYK percentages

Cyan95.0%
Magenta0.0%
Yellow9.1%
Key (black)5.1%

Color previews

#0cf2dc text on a black background

contrast 14.75:1

Card sample

#0cf2dc text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cf2dc

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#0cf2dc in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#0cf2dc, answered

What color is #0cf2dc?

#0cf2dc is a balanced electric cyan, closest to Turquoise (ΔE2000 4.3). It sits at 174° on the hue wheel with 91% saturation and 50% lightness, which reads as cool.

What is the RGB value of #0cf2dc?

rgb(12, 242, 220) — 12 red, 242 green and 220 blue out of 255, or 4.7% / 94.9% / 86.3% by channel.

Is #0cf2dc a light or a dark color?

It is a light color. Relative luminance is 0.6875 and perceived brightness is 78%, so black text on it reaches 14.75:1.

Should I use black or white text on #0cf2dc?

Black. It scores 14.75:1 against #0cf2dc, versus 1.42:1 for white — AAA at any size.

What is the complementary color of #0cf2dc?

#F20C22 sits directly opposite on the wheel. Softer options are the split-complements #F20C95 and #F2690C, which give the same contrast with far less vibration.

What colors go well with #0cf2dc?

For interface work: #F4FAFA as the surface, #C0EDE8 for borders, #4B9B93 for secondary text, #F7075A as an accent and #067A6F for hover and pressed states. For a palette, the analogous pair #0CF269 and #0C95F2 stays calm, while #F20C22 is the loudest partner.

What is #0cf2dc in CMYK for printing?

cmyk(95%, 0%, 9%, 5%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #0cf2dc warm or cool?

Cool — it scores 85 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0CF288; nudged cooler, #09C6F5.

Work with #0cf2dc in the Color Lab