Skip to content

#0cfd3c

a balanced, electric green · cool · closest name: Lime

RGB
12, 253, 60
HSL
132°, 98%, 52%
CMYK
95, 0, 76, 1
Luminance
0.7065

At a glance

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

Hex
#0cfd3c
Hue
132°
green
Saturation
98%
electric
Lightness
52%
balanced
Brightness
99%
HSV value
Perceived
76%
weighted brightness
Luminance
0.7065
WCAG relative
Temperature
Cool
68/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.13:1
Closest name
Lime
ΔE2000 2.3
Where it sits
Hue132° of 360°
Saturation98%
Lightness52%
Temperature
Warm ← → Cool68% 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#0cfd3c
RGBrgb(12, 253, 60)
HSLhsl(132, 98%, 52%)
CMYKcmyk(95%, 0%, 76%, 1%)
LABlab(87.3 -83.3 72.6)
LCHlch(87.3 110.5 138.9)
OKLCHoklch(0.864 0.277 144.1)
Decimal851260
Display P3color(display-p3 0.047 0.992 0.235)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cfd3c on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#0cfd3c on black: 15.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE401
deuteranopia · #ECD553
tritanopia · #00F6D9

Color scale — 50 to 950

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

#F1FEF4
#E3FCE8
#C1FBCC
#90FEA6
#58FE79
#0cfd3c
#02F332
#02CA2A
#01A221
#06751C
#044911
Base = 500Lightest = 50 · #F1FEF4Darkest = 950 · #044911
:root {
  --brand-50: #F1FEF4;
  --brand-100: #E3FCE8;
  --brand-200: #C1FBCC;
  --brand-300: #90FEA6;
  --brand-400: #58FE79;
  --brand-500: #0cfd3c;
  --brand-600: #02F332;
  --brand-700: #02CA2A;
  --brand-800: #01A221;
  --brand-900: #06751C;
  --brand-950: #044911;
  --brand: #0cfd3c;
  --brand-ink: #000000;
}

Colors that work with #0cfd3c

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#F4FAF6
Tinted page background
Border#C0EDC9
Hairlines and dividers
Muted text#4B9B5B
Captions on the surface
Accent#F30AFF
Second voice, not a rival
Dark variant#017E1A
Hover, pressed, headers
Light variant#E6FFEB
Selected rows, tints
Dark surface#142417
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 #0cfd3c

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#FD0CCD
Analogous left#54FD0C
Analogous right#0CFDB5
Split-complement 1#B50CFD
Split-complement 2#FD0C54
Triadic 1#3C0CFD
Triadic 2#FD3C0C
Tetradic#0C54FD

RGB percentages

Red4.7%
Green99.2%
Blue23.5%

CMYK percentages

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

Color previews

#0cfd3c text on a black background

contrast 15.13:1

Card sample

#0cfd3c text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cfd3c

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.

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

#0cfd3c, answered

What color is #0cfd3c?

#0cfd3c is a balanced electric green, closest to Lime (ΔE2000 2.3). It sits at 132° on the hue wheel with 98% saturation and 52% lightness, which reads as cool.

What is the RGB value of #0cfd3c?

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

Is #0cfd3c a light or a dark color?

It is a light color. Relative luminance is 0.7065 and perceived brightness is 76%, so black text on it reaches 15.13:1.

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

Black. It scores 15.13:1 against #0cfd3c, versus 1.39:1 for white — AAA at any size.

What is the complementary color of #0cfd3c?

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

What colors go well with #0cfd3c?

For interface work: #F4FAF6 as the surface, #C0EDC9 for borders, #4B9B5B for secondary text, #F30AFF as an accent and #017E1A for hover and pressed states. For a palette, the analogous pair #54FD0C and #0CFDB5 stays calm, while #FD0CCD is the loudest partner.

What is #0cfd3c in CMYK for printing?

cmyk(95%, 0%, 76%, 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 #0cfd3c warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #34FD0C; nudged cooler, #0AFF95.

Work with #0cfd3c in the Color Lab