Skip to content

#0ccc49

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

RGB
12, 204, 73
HSL
139°, 89%, 42%
CMYK
94, 0, 64, 20
Luminance
0.4374

At a glance

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

Hex
#0ccc49
Hue
139°
green
Saturation
89%
electric
Lightness
42%
dark
Brightness
80%
HSV value
Perceived
62%
weighted brightness
Luminance
0.4374
WCAG relative
Temperature
Cool
70/100 cool
Color family
Green
Tone
Electric
Best ink
Black
9.75:1
Closest name
Lime Green
ΔE2000 3
Where it sits
Hue139° of 360°
Saturation89%
Lightness42%
Temperature
Warm ← → Cool70% 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#0ccc49
RGBrgb(12, 204, 73)
HSLhsl(139, 89%, 42%)
CMYKcmyk(94%, 0%, 64%, 20%)
LABlab(72.1 -68.2 52.0)
LCHlch(72.1 85.8 142.7)
OKLCHoklch(0.737 0.220 146.5)
Decimal838729
Display P3color(display-p3 0.047 0.800 0.286)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0ccc49 on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#0ccc49 on black: 9.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CFB839
deuteranopia · #BCAC55
tritanopia · #00C7B1

Color scale — 50 to 950

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

#F2FDF5
#E5FBEC
#C4F8D4
#95F9B5
#60F690
#2BF36B
#0EE753
#0ccc49
#099A37
#0B6F2B
#07461B
Base = 700Lightest = 50 · #F2FDF5Darkest = 950 · #07461B
:root {
  --brand-50: #F2FDF5;
  --brand-100: #E5FBEC;
  --brand-200: #C4F8D4;
  --brand-300: #95F9B5;
  --brand-400: #60F690;
  --brand-500: #2BF36B;
  --brand-600: #0EE753;
  --brand-700: #0ccc49;
  --brand-800: #099A37;
  --brand-900: #0B6F2B;
  --brand-950: #07461B;
  --brand: #0ccc49;
  --brand-ink: #000000;
}

Colors that work with #0ccc49

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#C0EDCE
Hairlines and dividers
Muted text#4B9B64
Captions on the surface
Accent#D108C3
Second voice, not a rival
Dark variant#07782B
Hover, pressed, headers
Light variant#E7FEEE
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 #0ccc49

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#CC0C8F
Analogous left#2FCC0C
Analogous right#0CCCA9
Split-complement 1#A90CCC
Split-complement 2#CC0C2F
Triadic 1#490CCC
Triadic 2#CC490C
Tetradic#0C2FCC

RGB percentages

Red4.7%
Green80.0%
Blue28.6%

CMYK percentages

Cyan94.1%
Magenta0.0%
Yellow64.2%
Key (black)20.0%

Color previews

#0ccc49 text on a black background

contrast 9.75:1

Card sample

#0ccc49 text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0ccc49

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.

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

#0ccc49, answered

What color is #0ccc49?

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

What is the RGB value of #0ccc49?

rgb(12, 204, 73) — 12 red, 204 green and 73 blue out of 255, or 4.7% / 80% / 28.6% by channel.

Is #0ccc49 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4374 and perceived brightness is 62%, so black text on it reaches 9.75:1.

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

Black. It scores 9.75:1 against #0ccc49, versus 2.15:1 for white — AAA at any size.

What is the complementary color of #0ccc49?

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

What colors go well with #0ccc49?

For interface work: #F4FAF6 as the surface, #C0EDCE for borders, #4B9B64 for secondary text, #D108C3 as an accent and #07782B for hover and pressed states. For a palette, the analogous pair #2FCC0C and #0CCCA9 stays calm, while #CC0C8F is the loudest partner.

What is #0ccc49 in CMYK for printing?

cmyk(94%, 0%, 64%, 20%). 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 #0ccc49 warm or cool?

Cool — it scores 70 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #15CC0C; nudged cooler, #0ACE90.

Work with #0ccc49 in the Color Lab