Skip to content

#42fb39

a balanced, electric green · cool · closest name: Lime

RGB
66, 251, 57
HSL
117°, 96%, 60%
CMYK
74, 0, 77, 2
Luminance
0.7045

At a glance

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

Hex
#42fb39
Hue
117°
green
Saturation
96%
electric
Lightness
60%
balanced
Brightness
98%
HSV value
Perceived
77%
weighted brightness
Luminance
0.7045
WCAG relative
Temperature
Cool
61/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.09:1
Closest name
Lime
ΔE2000 2.1
Where it sits
Hue117° of 360°
Saturation96%
Lightness60%
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#42fb39
RGBrgb(66, 251, 57)
HSLhsl(117, 96%, 60%)
CMYKcmyk(74%, 0%, 77%, 2%)
LABlab(87.2 -78.2 73.5)
LCHlch(87.2 107.4 136.8)
OKLCHoklch(0.864 0.269 142.3)
Decimal4389689
Display P3color(display-p3 0.259 0.984 0.224)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#42fb39 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#42fb39 on black: 15.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE300
deuteranopia · #ECD550
tritanopia · #00F3D7

Color scale — 50 to 950

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

#F2FDF1
#E5FCE4
#C4FAC1
#96FD91
#62FC5A
#42fb39
#10F005
#0DC804
#0BA003
#0C7307
#084804
Base = 500Lightest = 50 · #F2FDF1Darkest = 950 · #084804
:root {
  --brand-50: #F2FDF1;
  --brand-100: #E5FCE4;
  --brand-200: #C4FAC1;
  --brand-300: #96FD91;
  --brand-400: #62FC5A;
  --brand-500: #42fb39;
  --brand-600: #10F005;
  --brand-700: #0DC804;
  --brand-800: #0BA003;
  --brand-900: #0C7307;
  --brand-950: #084804;
  --brand: #42fb39;
  --brand-ink: #000000;
}

Colors that work with #42fb39

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#C335FF
Second voice, not a rival
Dark variant#087D03
Hover, pressed, headers
Light variant#E7FEE6
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 #42fb39

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#F239FB
Analogous left#A3FB39
Analogous right#39FB91
Split-complement 1#9139FB
Split-complement 2#FB39A3
Triadic 1#3942FB
Triadic 2#FB3942
Tetradic#39A3FB

RGB percentages

Red25.9%
Green98.4%
Blue22.4%

CMYK percentages

Cyan73.7%
Magenta0.0%
Yellow77.3%
Key (black)1.6%

Color previews

#42fb39 text on a black background

contrast 15.09:1

Card sample

#42fb39 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(66, 251, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(66, 251, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #42fb39;
background: linear-gradient(135deg, #42fb39, #39FBB1);

Monochromatic scale

Palettes built from #42fb39

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.

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

#42fb39, answered

What color is #42fb39?

#42fb39 is a balanced electric green, closest to Lime (ΔE2000 2.1). It sits at 117° on the hue wheel with 96% saturation and 60% lightness, which reads as cool.

What is the RGB value of #42fb39?

rgb(66, 251, 57) — 66 red, 251 green and 57 blue out of 255, or 25.9% / 98.4% / 22.4% by channel.

Is #42fb39 a light or a dark color?

It is a light color. Relative luminance is 0.7045 and perceived brightness is 77%, so black text on it reaches 15.09:1.

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

Black. It scores 15.09:1 against #42fb39, versus 1.39:1 for white — AAA at any size.

What is the complementary color of #42fb39?

#F239FB sits directly opposite on the wheel. Softer options are the split-complements #9139FB and #FB39A3, which give the same contrast with far less vibration.

What colors go well with #42fb39?

For interface work: #F5FAF4 as the surface, #C2EDC0 for borders, #4E9B4B for secondary text, #C335FF as an accent and #087D03 for hover and pressed states. For a palette, the analogous pair #A3FB39 and #39FB91 stays calm, while #F239FB is the loudest partner.

What is #42fb39 in CMYK for printing?

cmyk(74%, 0%, 77%, 2%). 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 #42fb39 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 #89FB39; nudged cooler, #37FD76.

Work with #42fb39 in the Color Lab