Skip to content

#42df3b

a balanced, vivid green · cool · closest name: Lime Green

RGB
66, 223, 59
HSL
117°, 72%, 55%
CMYK
70, 0, 74, 13
Luminance
0.5425

At a glance

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

Hex
#42df3b
Hue
117°
green
Saturation
72%
vivid
Lightness
55%
balanced
Brightness
87%
HSV value
Perceived
69%
weighted brightness
Luminance
0.5425
WCAG relative
Temperature
Cool
61/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
11.85:1
Closest name
Lime Green
ΔE2000 4.4
Where it sits
Hue117° of 360°
Saturation72%
Lightness55%
Temperature
Warm ← → Cool61% 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#42df3b
RGBrgb(66, 223, 59)
HSLhsl(117, 72%, 55%)
CMYKcmyk(70%, 0%, 74%, 13%)
LABlab(78.6 -69.5 64.5)
LCHlch(78.6 94.8 137.2)
OKLCHoklch(0.793 0.239 142.4)
Decimal4382523
Display P3color(display-p3 0.259 0.875 0.231)

Copy-ready code

/* CSS */
color: #42df3b;
background-color: #42df3b;
/* Tailwind (arbitrary) */
class="text-[#42df3b] bg-[#42df3b]"
/* SCSS */
$brand: #42df3b;
/* SwiftUI */
Color(red: 0.259, green: 0.875, blue: 0.231)
/* Android */
Color.parseColor("#42df3b")
/* Flutter */
Color(0xFF42DF3B)
/* Python / OpenCV (BGR) */
(59, 223, 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 #42df3b · 11.85:1
Use #000000AAA at every size.
Aa
White text · 1.77:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.85:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #42df3b as text scores 1.77:1 on white and 11.85:1 on black.

Accessibility — WCAG contrast

Aa
#42df3b on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#42df3b on black: 11.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E4CA1A
deuteranopia · #D2BE4D
tritanopia · #0DD8BF

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #42df3b is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3FCF3
#E8F8E7
#CBF3C9
#A2EF9F
#74E76E
#42df3b
#2AD222
#23AF1D
#1C8C17
#186615
#0F400D
Base = 500Lightest = 50 · #F3FCF3Darkest = 950 · #0F400D
:root {
  --brand-50: #F3FCF3;
  --brand-100: #E8F8E7;
  --brand-200: #CBF3C9;
  --brand-300: #A2EF9F;
  --brand-400: #74E76E;
  --brand-500: #42df3b;
  --brand-600: #2AD222;
  --brand-700: #23AF1D;
  --brand-800: #1C8C17;
  --brand-900: #186615;
  --brand-950: #0F400D;
  --brand: #42df3b;
  --brand-ink: #000000;
}

Colors that work with #42df3b

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#F5FAF4
Tinted page background
Border#C2EDC0
Hairlines and dividers
Muted text#4E9B4B
Captions on the surface
Accent#B137E4
Second voice, not a rival
Dark variant#166E12
Hover, pressed, headers
Light variant#EAFBE9
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 #42df3b

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
  • 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
  • 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#D83BDF
Analogous left#94DF3B
Analogous right#3BDF86
Split-complement 1#863BDF
Split-complement 2#DF3B94
Triadic 1#3B42DF
Triadic 2#DF3B42
Tetradic#3B94DF

RGB percentages

Red25.9%
Green87.5%
Blue23.1%

CMYK percentages

Cyan70.4%
Magenta0.0%
Yellow73.5%
Key (black)12.5%

Color previews

#42df3b text on a black background

contrast 11.85:1

Card sample

#42df3b text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(66, 223, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(66, 223, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #42df3b;
background: linear-gradient(135deg, #42df3b, #3BDFA1);

Monochromatic scale

Palettes built from #42df3b

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.

#42df3b 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

Converts to four-color process without much drama. Proof it anyway.

#42df3b, answered

What color is #42df3b?

#42df3b is a balanced vivid green, closest to Lime Green (ΔE2000 4.4). It sits at 117° on the hue wheel with 72% saturation and 55% lightness, which reads as cool.

What is the RGB value of #42df3b?

rgb(66, 223, 59) — 66 red, 223 green and 59 blue out of 255, or 25.9% / 87.5% / 23.1% by channel.

Is #42df3b a light or a dark color?

It is a light color. Relative luminance is 0.5425 and perceived brightness is 69%, so black text on it reaches 11.85:1.

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

Black. It scores 11.85:1 against #42df3b, versus 1.77:1 for white — AAA at any size.

What is the complementary color of #42df3b?

#D83BDF sits directly opposite on the wheel. Softer options are the split-complements #863BDF and #DF3B94, which give the same contrast with far less vibration.

What colors go well with #42df3b?

For interface work: #F5FAF4 as the surface, #C2EDC0 for borders, #4E9B4B for secondary text, #B137E4 as an accent and #166E12 for hover and pressed states. For a palette, the analogous pair #94DF3B and #3BDF86 stays calm, while #D83BDF is the loudest partner.

What is #42df3b in CMYK for printing?

cmyk(70%, 0%, 74%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #42df3b warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7EDF3B; nudged cooler, #39E16F.

Work with #42df3b in the Color Lab