Skip to content

#0cdf66

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

RGB
12, 223, 102
HSL
146°, 90%, 46%
CMYK
95, 0, 54, 13
Luminance
0.5381

At a glance

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

Hex
#0cdf66
Hue
146°
green
Saturation
90%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
68%
weighted brightness
Luminance
0.5381
WCAG relative
Temperature
Cool
73/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.76:1
Closest name
Lime Green
ΔE2000 6.6
Where it sits
Hue146° of 360°
Saturation90%
Lightness46%
Temperature
Warm ← → Cool73% 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#0cdf66
RGBrgb(12, 223, 102)
HSLhsl(146, 90%, 46%)
CMYKcmyk(95%, 0%, 54%, 13%)
LABlab(78.3 -70.3 46.3)
LCHlch(78.3 84.2 146.6)
OKLCHoklch(0.790 0.219 149.5)
Decimal843622
Display P3color(display-p3 0.047 0.875 0.400)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cdf66 on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#0cdf66 on black: 11.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E1CA5B
deuteranopia · #CCBC6F
tritanopia · #00DBC4

Color scale — 50 to 950

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

#F2FDF7
#E5FBEE
#C3F8DA
#95F9C0
#5FF6A0
#2AF480
#0cdf66
#0AC259
#089B47
#0B7036
#074622
Base = 600Lightest = 50 · #F2FDF7Darkest = 950 · #074622
:root {
  --brand-50: #F2FDF7;
  --brand-100: #E5FBEE;
  --brand-200: #C3F8DA;
  --brand-300: #95F9C0;
  --brand-400: #5FF6A0;
  --brand-500: #2AF480;
  --brand-600: #0cdf66;
  --brand-700: #0AC259;
  --brand-800: #089B47;
  --brand-900: #0B7036;
  --brand-950: #074622;
  --brand: #0cdf66;
  --brand-ink: #000000;
}

Colors that work with #0cdf66

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#F4FAF7
Tinted page background
Border#C0EDD3
Hairlines and dividers
Muted text#4B9B6D
Captions on the surface
Accent#E407BD
Second voice, not a rival
Dark variant#077937
Hover, pressed, headers
Light variant#E7FEF1
Selected rows, tints
Dark surface#14241B
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 #0cdf66

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#DF0C85
Analogous left#1BDF0C
Analogous right#0CDFD0
Split-complement 1#D00CDF
Split-complement 2#DF0C1B
Triadic 1#660CDF
Triadic 2#DF660C
Tetradic#0C1BDF

RGB percentages

Red4.7%
Green87.5%
Blue40.0%

CMYK percentages

Cyan94.6%
Magenta0.0%
Yellow54.3%
Key (black)12.5%

Color previews

#0cdf66 text on a black background

contrast 11.76:1

Card sample

#0cdf66 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cdf66

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.

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

#0cdf66, answered

What color is #0cdf66?

#0cdf66 is a balanced electric green, closest to Lime Green (ΔE2000 6.6). It sits at 146° on the hue wheel with 90% saturation and 46% lightness, which reads as cool.

What is the RGB value of #0cdf66?

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

Is #0cdf66 a light or a dark color?

It is a light color. Relative luminance is 0.5381 and perceived brightness is 68%, so black text on it reaches 11.76:1.

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

Black. It scores 11.76:1 against #0cdf66, versus 1.79:1 for white — AAA at any size.

What is the complementary color of #0cdf66?

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

What colors go well with #0cdf66?

For interface work: #F4FAF7 as the surface, #C0EDD3 for borders, #4B9B6D for secondary text, #E407BD as an accent and #077937 for hover and pressed states. For a palette, the analogous pair #1BDF0C and #0CDFD0 stays calm, while #DF0C85 is the loudest partner.

What is #0cdf66 in CMYK for printing?

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

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

Work with #0cdf66 in the Color Lab