Skip to content

#0cdfb2

a balanced, electric cyan · cool · closest name: Medium Aqua Marine

RGB
12, 223, 178
HSL
167°, 90%, 46%
CMYK
95, 0, 20, 13
Luminance
0.5607

At a glance

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

Hex
#0cdfb2
Hue
167°
cyan
Saturation
90%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
71%
weighted brightness
Luminance
0.5607
WCAG relative
Temperature
Cool
82/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
12.21:1
Closest name
Medium Aqua Marine
ΔE2000 6.2
Where it sits
Hue167° of 360°
Saturation90%
Lightness46%
Temperature
Warm ← → Cool82% 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#0cdfb2
RGBrgb(12, 223, 178)
HSLhsl(167, 90%, 46%)
CMYKcmyk(95%, 0%, 20%, 13%)
LABlab(79.7 -55.4 9.5)
LCHlch(79.7 56.2 170.3)
OKLCHoklch(0.805 0.156 171.1)
Decimal843698
Display P3color(display-p3 0.047 0.875 0.698)

Copy-ready code

/* CSS */
color: #0cdfb2;
background-color: #0cdfb2;
/* Tailwind (arbitrary) */
class="text-[#0cdfb2] bg-[#0cdfb2]"
/* SCSS */
$brand: #0cdfb2;
/* SwiftUI */
Color(red: 0.047, green: 0.875, blue: 0.698)
/* Android */
Color.parseColor("#0cdfb2")
/* Flutter */
Color(0xFF0CDFB2)
/* Python / OpenCV (BGR) */
(178, 223, 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 #0cdfb2 · 12.21:1
Use #000000AAA at every size.
Aa
White text · 1.72:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.21:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #0cdfb2 as text scores 1.72:1 on white and 12.21:1 on black.

Accessibility — WCAG contrast

Aa
#0cdfb2 on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#0cdfb2 on black: 12.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D8CFB0
deuteranopia · #C1BFB5
tritanopia · #00E1D2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0cdfb2 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.

#F2FDFA
#E5FBF6
#C3F8ED
#95F9E4
#5FF6D6
#2AF4C9
#0cdfb2
#0AC29B
#089B7C
#0B705A
#074638
Base = 600Lightest = 50 · #F2FDFADarkest = 950 · #074638
:root {
  --brand-50: #F2FDFA;
  --brand-100: #E5FBF6;
  --brand-200: #C3F8ED;
  --brand-300: #95F9E4;
  --brand-400: #5FF6D6;
  --brand-500: #2AF4C9;
  --brand-600: #0cdfb2;
  --brand-700: #0AC29B;
  --brand-800: #089B7C;
  --brand-900: #0B705A;
  --brand-950: #074638;
  --brand: #0cdfb2;
  --brand-ink: #000000;
}

Colors that work with #0cdfb2

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#F4FAF9
Tinted page background
Border#C0EDE3
Hairlines and dividers
Muted text#4B9B8A
Captions on the surface
Accent#E4076D
Second voice, not a rival
Dark variant#077961
Hover, pressed, headers
Light variant#E7FEF9
Selected rows, tints
Dark surface#142421
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 #0cdfb2

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#DF0C39
Analogous left#0CDF49
Analogous right#0CA3DF
Split-complement 1#DF0CA3
Split-complement 2#DF490C
Triadic 1#B20CDF
Triadic 2#DFB20C
Tetradic#490CDF

RGB percentages

Red4.7%
Green87.5%
Blue69.8%

CMYK percentages

Cyan94.6%
Magenta0.0%
Yellow20.2%
Key (black)12.5%

Color previews

#0cdfb2 text on a black background

contrast 12.21:1

Card sample

#0cdfb2 text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cdfb2

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.

#0cdfb2 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.

#0cdfb2, answered

What color is #0cdfb2?

#0cdfb2 is a balanced electric cyan, closest to Medium Aqua Marine (ΔE2000 6.2). It sits at 167° on the hue wheel with 90% saturation and 46% lightness, which reads as cool.

What is the RGB value of #0cdfb2?

rgb(12, 223, 178) — 12 red, 223 green and 178 blue out of 255, or 4.7% / 87.5% / 69.8% by channel.

Is #0cdfb2 a light or a dark color?

It is a light color. Relative luminance is 0.5607 and perceived brightness is 71%, so black text on it reaches 12.21:1.

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

Black. It scores 12.21:1 against #0cdfb2, versus 1.72:1 for white — AAA at any size.

What is the complementary color of #0cdfb2?

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

What colors go well with #0cdfb2?

For interface work: #F4FAF9 as the surface, #C0EDE3 for borders, #4B9B8A for secondary text, #E4076D as an accent and #077961 for hover and pressed states. For a palette, the analogous pair #0CDF49 and #0CA3DF stays calm, while #DF0C39 is the loudest partner.

What is #0cdfb2 in CMYK for printing?

cmyk(95%, 0%, 20%, 13%). 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 #0cdfb2 warm or cool?

Cool — it scores 82 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0CDF65; nudged cooler, #0AC0E1.

Work with #0cdfb2 in the Color Lab