Skip to content

#0cd04f

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

RGB
12, 208, 79
HSL
141°, 89%, 43%
CMYK
94, 0, 62, 18
Luminance
0.4575

At a glance

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

Hex
#0cd04f
Hue
141°
green
Saturation
89%
electric
Lightness
43%
dark
Brightness
82%
HSV value
Perceived
63%
weighted brightness
Luminance
0.4575
WCAG relative
Temperature
Cool
71/100 cool
Color family
Green
Tone
Electric
Best ink
Black
10.15:1
Closest name
Lime Green
ΔE2000 3.5
Where it sits
Hue141° of 360°
Saturation89%
Lightness43%
Temperature
Warm ← → Cool71% 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#0cd04f
RGBrgb(12, 208, 79)
HSLhsl(141, 89%, 43%)
CMYKcmyk(94%, 0%, 62%, 18%)
LABlab(73.4 -68.7 50.9)
LCHlch(73.4 85.5 143.5)
OKLCHoklch(0.748 0.220 147.1)
Decimal839759
Display P3color(display-p3 0.047 0.816 0.310)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cd04f on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#0cd04f on black: 10.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D3BC40
deuteranopia · #C0AF5A
tritanopia · #00CBB5

Color scale — 50 to 950

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

#F2FDF6
#E5FBEC
#C4F8D6
#95F9B7
#60F693
#2BF36F
#0DE758
#0cd04f
#099A3B
#0B6F2D
#07461C
Base = 700Lightest = 50 · #F2FDF6Darkest = 950 · #07461C
:root {
  --brand-50: #F2FDF6;
  --brand-100: #E5FBEC;
  --brand-200: #C4F8D6;
  --brand-300: #95F9B7;
  --brand-400: #60F693;
  --brand-500: #2BF36F;
  --brand-600: #0DE758;
  --brand-700: #0cd04f;
  --brand-800: #099A3B;
  --brand-900: #0B6F2D;
  --brand-950: #07461C;
  --brand: #0cd04f;
  --brand-ink: #000000;
}

Colors that work with #0cd04f

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#C0EDCF
Hairlines and dividers
Muted text#4B9B66
Captions on the surface
Accent#D408C1
Second voice, not a rival
Dark variant#07792E
Hover, pressed, headers
Light variant#E7FEEF
Selected rows, tints
Dark surface#142419
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 #0cd04f

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black text placed on it
  • 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#D00C8D
Analogous left#2BD00C
Analogous right#0CD0B1
Split-complement 1#B10CD0
Split-complement 2#D00C2B
Triadic 1#4F0CD0
Triadic 2#D04F0C
Tetradic#0C2BD0

RGB percentages

Red4.7%
Green81.6%
Blue31.0%

CMYK percentages

Cyan94.2%
Magenta0.0%
Yellow62.0%
Key (black)18.4%

Color previews

#0cd04f text on a black background

contrast 10.15:1

Card sample

#0cd04f text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cd04f

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.

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

#0cd04f, answered

What color is #0cd04f?

#0cd04f is a dark electric green, closest to Lime Green (ΔE2000 3.5). It sits at 141° on the hue wheel with 89% saturation and 43% lightness, which reads as cool.

What is the RGB value of #0cd04f?

rgb(12, 208, 79) — 12 red, 208 green and 79 blue out of 255, or 4.7% / 81.6% / 31% by channel.

Is #0cd04f a light or a dark color?

It is a mid-tone. Relative luminance is 0.4575 and perceived brightness is 63%, so black text on it reaches 10.15:1.

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

Black. It scores 10.15:1 against #0cd04f, versus 2.07:1 for white — AAA at any size.

What is the complementary color of #0cd04f?

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

What colors go well with #0cd04f?

For interface work: #F4FAF6 as the surface, #C0EDCF for borders, #4B9B66 for secondary text, #D408C1 as an accent and #07792E for hover and pressed states. For a palette, the analogous pair #2BD00C and #0CD0B1 stays calm, while #D00C8D is the loudest partner.

What is #0cd04f in CMYK for printing?

cmyk(94%, 0%, 62%, 18%). 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 #0cd04f warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #11D00C; nudged cooler, #0AD298.

Work with #0cd04f in the Color Lab