Skip to content

#42cc13

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

RGB
66, 204, 19
HSL
105°, 83%, 44%
CMYK
68, 0, 91, 20
Luminance
0.4439

At a glance

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

Hex
#42cc13
Hue
105°
green
Saturation
83%
electric
Lightness
44%
dark
Brightness
80%
HSV value
Perceived
63%
weighted brightness
Luminance
0.4439
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Green
Tone
Electric
Best ink
Black
9.88:1
Closest name
Lime Green
ΔE2000 2.4
Where it sits
Hue105° of 360°
Saturation83%
Lightness44%
Temperature
Warm ← → Cool56% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#42cc13
RGBrgb(66, 204, 19)
HSLhsl(105, 83%, 44%)
CMYKcmyk(68%, 0%, 91%, 20%)
LABlab(72.5 -65.6 69.1)
LCHlch(72.5 95.2 133.5)
OKLCHoklch(0.741 0.234 140.2)
Decimal4377619
Display P3color(display-p3 0.259 0.800 0.075)

Copy-ready code

/* CSS */
color: #42cc13;
background-color: #42cc13;
/* Tailwind (arbitrary) */
class="text-[#42cc13] bg-[#42cc13]"
/* SCSS */
$brand: #42cc13;
/* SwiftUI */
Color(red: 0.259, green: 0.800, blue: 0.075)
/* Android */
Color.parseColor("#42cc13")
/* Flutter */
Color(0xFF42CC13)
/* Python / OpenCV (BGR) */
(19, 204, 66)

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 #42cc13 · 9.88:1
Use #000000AAA at every size.
Aa
White text · 2.13:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.88:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #42cc13 as text scores 2.13:1 on white and 9.88:1 on black.

Accessibility — WCAG contrast

Aa
#42cc13 on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#42cc13 on black: 9.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D2B800
deuteranopia · #C2AE32
tritanopia · #28C5AD

Color scale — 50 to 950

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

#F5FCF2
#EBFAE6
#D2F6C6
#B0F598
#88F165
#61EC32
#48E015
#42cc13
#30950E
#266C0E
#184309
Base = 700Lightest = 50 · #F5FCF2Darkest = 950 · #184309
:root {
  --brand-50: #F5FCF2;
  --brand-100: #EBFAE6;
  --brand-200: #D2F6C6;
  --brand-300: #B0F598;
  --brand-400: #88F165;
  --brand-500: #61EC32;
  --brand-600: #48E015;
  --brand-700: #42cc13;
  --brand-800: #30950E;
  --brand-900: #266C0E;
  --brand-950: #184309;
  --brand: #42cc13;
  --brand-ink: #000000;
}

Colors that work with #42cc13

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#F6FAF4
Tinted page background
Border#CBEDC0
Hairlines and dividers
Muted text#5F9B4B
Captions on the surface
Accent#6F0ED0
Second voice, not a rival
Dark variant#26750B
Hover, pressed, headers
Light variant#EDFDE8
Selected rows, tints
Dark surface#182414
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 #42cc13

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#9D13CC
Analogous left#9ECC13
Analogous right#13CC41
Split-complement 1#4113CC
Split-complement 2#CC139E
Triadic 1#1342CC
Triadic 2#CC1342
Tetradic#139ECC

RGB percentages

Red25.9%
Green80.0%
Blue7.5%

CMYK percentages

Cyan67.6%
Magenta0.0%
Yellow90.7%
Key (black)20.0%

Color previews

#42cc13 text on a black background

contrast 9.88:1

Card sample

#42cc13 text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #42cc13;
Background color
Panel with #42cc13 background
background-color: #42cc13;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #42cc13;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(66, 204, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(66, 204, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #42cc13;
background: linear-gradient(135deg, #42cc13, #13CC5F);

Monochromatic scale

Palettes built from #42cc13

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.

#42cc13 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.

#42cc13, answered

What color is #42cc13?

#42cc13 is a dark electric green, closest to Lime Green (ΔE2000 2.4). It sits at 105° on the hue wheel with 83% saturation and 44% lightness, which reads as neutral.

What is the RGB value of #42cc13?

rgb(66, 204, 19) — 66 red, 204 green and 19 blue out of 255, or 25.9% / 80% / 7.5% by channel.

Is #42cc13 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4439 and perceived brightness is 63%, so black text on it reaches 9.88:1.

Should I use black or white text on #42cc13?

Black. It scores 9.88:1 against #42cc13, versus 2.13:1 for white — AAA at any size.

What is the complementary color of #42cc13?

#9D13CC sits directly opposite on the wheel. Softer options are the split-complements #4113CC and #CC139E, which give the same contrast with far less vibration.

What colors go well with #42cc13?

For interface work: #F6FAF4 as the surface, #CBEDC0 for borders, #5F9B4B for secondary text, #6F0ED0 as an accent and #26750B for hover and pressed states. For a palette, the analogous pair #9ECC13 and #13CC41 stays calm, while #9D13CC is the loudest partner.

What is #42cc13 in CMYK for printing?

cmyk(68%, 0%, 91%, 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 #42cc13 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #86CC13; nudged cooler, #11CE26.

Work with #42cc13 in the Color Lab