Skip to content

#0cfda2

a balanced, electric green · cool · closest name: Medium Spring Green

RGB
12, 253, 162
HSL
157°, 98%, 52%
CMYK
95, 0, 36, 1
Luminance
0.7294

At a glance

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

Hex
#0cfda2
Hue
157°
green
Saturation
98%
electric
Lightness
52%
balanced
Brightness
99%
HSV value
Perceived
79%
weighted brightness
Luminance
0.7294
WCAG relative
Temperature
Cool
78/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.59:1
Closest name
Medium Spring Green
ΔE2000 1.1
Where it sits
Hue157° of 360°
Saturation98%
Lightness52%
Temperature
Warm ← → Cool78% 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#0cfda2
RGBrgb(12, 253, 162)
HSLhsl(157, 98%, 52%)
CMYKcmyk(95%, 0%, 36%, 1%)
LABlab(88.4 -69.8 29.9)
LCHlch(88.4 76.0 156.8)
OKLCHoklch(0.876 0.203 158.3)
Decimal851362
Display P3color(display-p3 0.047 0.992 0.635)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cfda2 on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#0cfda2 on black: 15.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBE89C
deuteranopia · #E3D7A8
tritanopia · #00FBE6

Color scale — 50 to 950

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

#F1FEF9
#E3FCF3
#C1FBE5
#90FED4
#58FEBF
#0cfda2
#02F398
#02CA7E
#01A265
#06754B
#04492F
Base = 500Lightest = 50 · #F1FEF9Darkest = 950 · #04492F
:root {
  --brand-50: #F1FEF9;
  --brand-100: #E3FCF3;
  --brand-200: #C1FBE5;
  --brand-300: #90FED4;
  --brand-400: #58FEBF;
  --brand-500: #0cfda2;
  --brand-600: #02F398;
  --brand-700: #02CA7E;
  --brand-800: #01A265;
  --brand-900: #06754B;
  --brand-950: #04492F;
  --brand: #0cfda2;
  --brand-ink: #000000;
}

Colors that work with #0cfda2

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#F4FAF8
Tinted page background
Border#C0EDDC
Hairlines and dividers
Muted text#4B9B7D
Captions on the surface
Accent#FF0AA4
Second voice, not a rival
Dark variant#017E4F
Hover, pressed, headers
Light variant#E6FFF5
Selected rows, tints
Dark surface#14241E
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 #0cfda2

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
  • 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#FD0C67
Analogous left#0CFD29
Analogous right#0CE0FD
Split-complement 1#FD0CE0
Split-complement 2#FD290C
Triadic 1#A20CFD
Triadic 2#FDA20C
Tetradic#290CFD

RGB percentages

Red4.7%
Green99.2%
Blue63.5%

CMYK percentages

Cyan95.3%
Magenta0.0%
Yellow36.0%
Key (black)0.8%

Color previews

#0cfda2 text on a black background

contrast 15.59:1

Card sample

#0cfda2 text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cfda2

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.

#0cfda2 in the real world

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

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#0cfda2, answered

What color is #0cfda2?

#0cfda2 is a balanced electric green, closest to Medium Spring Green (ΔE2000 1.1). It sits at 157° on the hue wheel with 98% saturation and 52% lightness, which reads as cool.

What is the RGB value of #0cfda2?

rgb(12, 253, 162) — 12 red, 253 green and 162 blue out of 255, or 4.7% / 99.2% / 63.5% by channel.

Is #0cfda2 a light or a dark color?

It is a light color. Relative luminance is 0.7294 and perceived brightness is 79%, so black text on it reaches 15.59:1.

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

Black. It scores 15.59:1 against #0cfda2, versus 1.35:1 for white — AAA at any size.

What is the complementary color of #0cfda2?

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

What colors go well with #0cfda2?

For interface work: #F4FAF8 as the surface, #C0EDDC for borders, #4B9B7D for secondary text, #FF0AA4 as an accent and #017E4F for hover and pressed states. For a palette, the analogous pair #0CFD29 and #0CE0FD stays calm, while #FD0C67 is the loudest partner.

What is #0cfda2 in CMYK for printing?

cmyk(95%, 0%, 36%, 1%). 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 #0cfda2 warm or cool?

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

Work with #0cfda2 in the Color Lab