Skip to content

#0cd813

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

RGB
12, 216, 19
HSL
122°, 90%, 45%
CMYK
94, 0, 91, 15
Luminance
0.4924

At a glance

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

Hex
#0cd813
Hue
122°
green
Saturation
90%
electric
Lightness
45%
dark
Brightness
85%
HSV value
Perceived
65%
weighted brightness
Luminance
0.4924
WCAG relative
Temperature
Cool
63/100 cool
Color family
Green
Tone
Electric
Best ink
Black
10.85:1
Closest name
Lime Green
ΔE2000 3.3
Where it sits
Hue122° of 360°
Saturation90%
Lightness45%
Temperature
Warm ← → Cool63% 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#0cd813
RGBrgb(12, 216, 19)
HSLhsl(122, 90%, 45%)
CMYKcmyk(94%, 0%, 91%, 15%)
LABlab(75.6 -75.2 71.4)
LCHlch(75.6 103.7 136.5)
OKLCHoklch(0.765 0.257 142.7)
Decimal841747
Display P3color(display-p3 0.047 0.847 0.075)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cd813 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#0cd813 on black: 10.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DDC200
deuteranopia · #CAB535
tritanopia · #00D1B8

Color scale — 50 to 950

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

#F2FDF2
#E5FBE6
#C3F8C5
#95F998
#60F665
#2AF331
#0cd813
#0BC111
#099B0E
#0B700E
#074609
Base = 600Lightest = 50 · #F2FDF2Darkest = 950 · #074609
:root {
  --brand-50: #F2FDF2;
  --brand-100: #E5FBE6;
  --brand-200: #C3F8C5;
  --brand-300: #95F998;
  --brand-400: #60F665;
  --brand-500: #2AF331;
  --brand-600: #0cd813;
  --brand-700: #0BC111;
  --brand-800: #099B0E;
  --brand-900: #0B700E;
  --brand-950: #074609;
  --brand: #0cd813;
  --brand-ink: #000000;
}

Colors that work with #0cd813

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#F4FAF5
Tinted page background
Border#C0EDC1
Hairlines and dividers
Muted text#4B9B4D
Captions on the surface
Accent#AF07DD
Second voice, not a rival
Dark variant#07790B
Hover, pressed, headers
Light variant#E7FEE8
Selected rows, tints
Dark surface#142414
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 #0cd813

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#D80CD1
Analogous left#6BD80C
Analogous right#0CD879
Split-complement 1#790CD8
Split-complement 2#D80C6B
Triadic 1#130CD8
Triadic 2#D8130C
Tetradic#0C6BD8

RGB percentages

Red4.7%
Green84.7%
Blue7.5%

CMYK percentages

Cyan94.4%
Magenta0.0%
Yellow91.2%
Key (black)15.3%

Color previews

#0cd813 text on a black background

contrast 10.85:1

Card sample

#0cd813 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cd813

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.

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

#0cd813, answered

What color is #0cd813?

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

What is the RGB value of #0cd813?

rgb(12, 216, 19) — 12 red, 216 green and 19 blue out of 255, or 4.7% / 84.7% / 7.5% by channel.

Is #0cd813 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4924 and perceived brightness is 65%, so black text on it reaches 10.85:1.

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

Black. It scores 10.85:1 against #0cd813, versus 1.94:1 for white — AAA at any size.

What is the complementary color of #0cd813?

#D80CD1 sits directly opposite on the wheel. Softer options are the split-complements #790CD8 and #D80C6B, which give the same contrast with far less vibration.

What colors go well with #0cd813?

For interface work: #F4FAF5 as the surface, #C0EDC1 for borders, #4B9B4D for secondary text, #AF07DD as an accent and #07790B for hover and pressed states. For a palette, the analogous pair #6BD80C and #0CD879 stays calm, while #D80CD1 is the loudest partner.

What is #0cd813 in CMYK for printing?

cmyk(94%, 0%, 91%, 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 #0cd813 warm or cool?

Cool — it scores 63 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #50D80C; nudged cooler, #0ADA5D.

Work with #0cd813 in the Color Lab