Skip to content

#0cd939

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

RGB
12, 217, 57
HSL
133°, 90%, 45%
CMYK
95, 0, 74, 15
Luminance
0.5000

At a glance

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

Hex
#0cd939
Hue
133°
green
Saturation
90%
electric
Lightness
45%
dark
Brightness
85%
HSV value
Perceived
66%
weighted brightness
Luminance
0.5000
WCAG relative
Temperature
Cool
68/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.00:1
Closest name
Lime Green
ΔE2000 3
Where it sits
Hue133° of 360°
Saturation90%
Lightness45%
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#0cd939
RGBrgb(12, 217, 57)
HSLhsl(133, 90%, 45%)
CMYKcmyk(95%, 0%, 74%, 15%)
LABlab(76.1 -73.5 62.4)
LCHlch(76.1 96.4 139.7)
OKLCHoklch(0.770 0.243 144.5)
Decimal842041
Display P3color(display-p3 0.047 0.851 0.224)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cd939 on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#0cd939 on black: 11.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DDC419
deuteranopia · #CAB64A
tritanopia · #00D3BA

Color scale — 50 to 950

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

#F2FDF4
#E5FBEA
#C3F8CF
#95F9AB
#60F681
#2AF357
#0cd939
#0BC133
#099B29
#0B7021
#074615
Base = 600Lightest = 50 · #F2FDF4Darkest = 950 · #074615
:root {
  --brand-50: #F2FDF4;
  --brand-100: #E5FBEA;
  --brand-200: #C3F8CF;
  --brand-300: #95F9AB;
  --brand-400: #60F681;
  --brand-500: #2AF357;
  --brand-600: #0cd939;
  --brand-700: #0BC133;
  --brand-800: #099B29;
  --brand-900: #0B7021;
  --brand-950: #074615;
  --brand: #0cd939;
  --brand-ink: #000000;
}

Colors that work with #0cd939

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#C0EDCA
Hairlines and dividers
Muted text#4B9B5C
Captions on the surface
Accent#D707DE
Second voice, not a rival
Dark variant#077920
Hover, pressed, headers
Light variant#E7FEEC
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 #0cd939

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#D90CAC
Analogous left#45D90C
Analogous right#0CD9A0
Split-complement 1#A00CD9
Split-complement 2#D90C45
Triadic 1#390CD9
Triadic 2#D9390C
Tetradic#0C45D9

RGB percentages

Red4.7%
Green85.1%
Blue22.4%

CMYK percentages

Cyan94.5%
Magenta0.0%
Yellow73.7%
Key (black)14.9%

Color previews

#0cd939 text on a black background

contrast 11.00:1

Card sample

#0cd939 text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cd939

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.

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

#0cd939, answered

What color is #0cd939?

#0cd939 is a dark electric green, closest to Lime Green (ΔE2000 3). It sits at 133° on the hue wheel with 90% saturation and 45% lightness, which reads as cool.

What is the RGB value of #0cd939?

rgb(12, 217, 57) — 12 red, 217 green and 57 blue out of 255, or 4.7% / 85.1% / 22.4% by channel.

Is #0cd939 a light or a dark color?

It is a mid-tone. Relative luminance is 0.5000 and perceived brightness is 66%, so black text on it reaches 11.00:1.

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

Black. It scores 11.00:1 against #0cd939, versus 1.91:1 for white — AAA at any size.

What is the complementary color of #0cd939?

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

What colors go well with #0cd939?

For interface work: #F4FAF6 as the surface, #C0EDCA for borders, #4B9B5C for secondary text, #D707DE as an accent and #077920 for hover and pressed states. For a palette, the analogous pair #45D90C and #0CD9A0 stays calm, while #D90CAC is the loudest partner.

What is #0cd939 in CMYK for printing?

cmyk(95%, 0%, 74%, 15%). 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 #0cd939 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 #2AD90C; nudged cooler, #0ADB85.

Work with #0cd939 in the Color Lab