Skip to content

#0cc85f

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

RGB
12, 200, 95
HSL
147°, 89%, 42%
CMYK
94, 0, 53, 22
Luminance
0.4221

At a glance

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

Hex
#0cc85f
Hue
147°
green
Saturation
89%
electric
Lightness
42%
dark
Brightness
78%
HSV value
Perceived
61%
weighted brightness
Luminance
0.4221
WCAG relative
Temperature
Cool
74/100 cool
Color family
Green
Tone
Electric
Best ink
Black
9.44:1
Closest name
Lime Green
ΔE2000 6.3
Where it sits
Hue147° of 360°
Saturation89%
Lightness42%
Temperature
Warm ← → Cool74% 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#0cc85f
RGBrgb(12, 200, 95)
HSLhsl(147, 89%, 42%)
CMYKcmyk(94%, 0%, 53%, 22%)
LABlab(71.0 -64.1 40.7)
LCHlch(71.0 75.9 147.6)
OKLCHoklch(0.729 0.198 150.2)
Decimal837727
Display P3color(display-p3 0.047 0.784 0.373)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cc85f on white: 2.22:1
AA ✗ fail · AA-large · AAA
Aa
#0cc85f on black: 9.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C9B656
deuteranopia · #B7A967
tritanopia · #00C4B0

Color scale — 50 to 950

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

#F2FDF7
#E5FBEE
#C4F8DB
#95F9C1
#60F5A2
#2BF283
#0EE76E
#0cc85f
#099A49
#0B6F37
#074523
Base = 700Lightest = 50 · #F2FDF7Darkest = 950 · #074523
:root {
  --brand-50: #F2FDF7;
  --brand-100: #E5FBEE;
  --brand-200: #C4F8DB;
  --brand-300: #95F9C1;
  --brand-400: #60F5A2;
  --brand-500: #2BF283;
  --brand-600: #0EE76E;
  --brand-700: #0cc85f;
  --brand-800: #099A49;
  --brand-900: #0B6F37;
  --brand-950: #074523;
  --brand: #0cc85f;
  --brand-ink: #000000;
}

Colors that work with #0cc85f

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#C0EDD4
Hairlines and dividers
Muted text#4B9B6E
Captions on the surface
Accent#CC08A7
Second voice, not a rival
Dark variant#077839
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 #0cc85f

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#C80C75
Analogous left#17C80C
Analogous right#0CC8BD
Split-complement 1#BD0CC8
Split-complement 2#C80C17
Triadic 1#5F0CC8
Triadic 2#C85F0C
Tetradic#0C17C8

RGB percentages

Red4.7%
Green78.4%
Blue37.3%

CMYK percentages

Cyan94.0%
Magenta0.0%
Yellow52.5%
Key (black)21.6%

Color previews

#0cc85f text on a black background

contrast 9.44:1

Card sample

#0cc85f text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cc85f

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.

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

#0cc85f, answered

What color is #0cc85f?

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

What is the RGB value of #0cc85f?

rgb(12, 200, 95) — 12 red, 200 green and 95 blue out of 255, or 4.7% / 78.4% / 37.3% by channel.

Is #0cc85f a light or a dark color?

It is a mid-tone. Relative luminance is 0.4221 and perceived brightness is 61%, so black text on it reaches 9.44:1.

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

Black. It scores 9.44:1 against #0cc85f, versus 2.22:1 for white — AAA at any size.

What is the complementary color of #0cc85f?

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

What colors go well with #0cc85f?

For interface work: #F4FAF7 as the surface, #C0EDD4 for borders, #4B9B6E for secondary text, #CC08A7 as an accent and #077839 for hover and pressed states. For a palette, the analogous pair #17C80C and #0CC8BD stays calm, while #C80C75 is the loudest partner.

What is #0cc85f in CMYK for printing?

cmyk(94%, 0%, 53%, 22%). 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 #0cc85f warm or cool?

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

Work with #0cc85f in the Color Lab