Skip to content

#0cd239

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

RGB
12, 210, 57
HSL
134°, 89%, 44%
CMYK
94, 0, 73, 18
Luminance
0.4647

At a glance

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

Hex
#0cd239
Hue
134°
green
Saturation
89%
electric
Lightness
44%
dark
Brightness
82%
HSV value
Perceived
64%
weighted brightness
Luminance
0.4647
WCAG relative
Temperature
Cool
68/100 cool
Color family
Green
Tone
Electric
Best ink
Black
10.29:1
Closest name
Lime Green
ΔE2000 1.7
Where it sits
Hue134° of 360°
Saturation89%
Lightness44%
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#0cd239
RGBrgb(12, 210, 57)
HSLhsl(134, 89%, 44%)
CMYKcmyk(94%, 0%, 73%, 18%)
LABlab(73.8 -71.5 60.2)
LCHlch(73.8 93.5 139.9)
OKLCHoklch(0.751 0.236 144.7)
Decimal840249
Display P3color(display-p3 0.047 0.824 0.224)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cd239 on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#0cd239 on black: 10.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D6BD1D
deuteranopia · #C3B049
tritanopia · #00CCB4

Color scale — 50 to 950

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

#F2FDF4
#E5FBEA
#C4F8CF
#95F9AC
#60F682
#2BF358
#0DE83F
#0cd239
#099A2A
#0B6F22
#074615
Base = 700Lightest = 50 · #F2FDF4Darkest = 950 · #074615
:root {
  --brand-50: #F2FDF4;
  --brand-100: #E5FBEA;
  --brand-200: #C4F8CF;
  --brand-300: #95F9AC;
  --brand-400: #60F682;
  --brand-500: #2BF358;
  --brand-600: #0DE83F;
  --brand-700: #0cd239;
  --brand-800: #099A2A;
  --brand-900: #0B6F22;
  --brand-950: #074615;
  --brand: #0cd239;
  --brand-ink: #000000;
}

Colors that work with #0cd239

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#4B9B5D
Captions on the surface
Accent#D108D6
Second voice, not a rival
Dark variant#077921
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 #0cd239

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#D20CA5
Analogous left#42D20C
Analogous right#0CD29C
Split-complement 1#9C0CD2
Split-complement 2#D20C42
Triadic 1#390CD2
Triadic 2#D2390C
Tetradic#0C42D2

RGB percentages

Red4.7%
Green82.4%
Blue22.4%

CMYK percentages

Cyan94.3%
Magenta0.0%
Yellow72.9%
Key (black)17.6%

Color previews

#0cd239 text on a black background

contrast 10.29:1

Card sample

#0cd239 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cd239

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.

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

#0cd239, answered

What color is #0cd239?

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

What is the RGB value of #0cd239?

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

Is #0cd239 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4647 and perceived brightness is 64%, so black text on it reaches 10.29:1.

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

Black. It scores 10.29:1 against #0cd239, versus 2.04:1 for white — AAA at any size.

What is the complementary color of #0cd239?

#D20CA5 sits directly opposite on the wheel. Softer options are the split-complements #9C0CD2 and #D20C42, which give the same contrast with far less vibration.

What colors go well with #0cd239?

For interface work: #F4FAF6 as the surface, #C0EDCA for borders, #4B9B5D for secondary text, #D108D6 as an accent and #077921 for hover and pressed states. For a palette, the analogous pair #42D20C and #0CD29C stays calm, while #D20CA5 is the loudest partner.

What is #0cd239 in CMYK for printing?

cmyk(94%, 0%, 73%, 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 #0cd239 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 #28D20C; nudged cooler, #0AD482.

Work with #0cd239 in the Color Lab