Skip to content

#42e2ab

a balanced, vivid green · cool · closest name: Medium Aqua Marine

RGB
66, 226, 171
HSL
159°, 73%, 57%
CMYK
71, 0, 24, 11
Luminance
0.5849

At a glance

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

Hex
#42e2ab
Hue
159°
green
Saturation
73%
vivid
Lightness
57%
balanced
Brightness
89%
HSV value
Perceived
73%
weighted brightness
Luminance
0.5849
WCAG relative
Temperature
Cool
79/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
12.70:1
Closest name
Medium Aqua Marine
ΔE2000 6.7
Where it sits
Hue159° of 360°
Saturation73%
Lightness57%
Temperature
Warm ← → Cool79% 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#42e2ab
RGBrgb(66, 226, 171)
HSLhsl(159, 73%, 57%)
CMYKcmyk(71%, 0%, 24%, 11%)
LABlab(81.0 -53.8 15.2)
LCHlch(81.0 55.9 164.2)
OKLCHoklch(0.817 0.153 165.3)
Decimal4383403
Display P3color(display-p3 0.259 0.886 0.671)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#42e2ab on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#42e2ab on black: 12.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DDD2A8
deuteranopia · #C9C3AF
tritanopia · #00E2D3

Color scale — 50 to 950

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

#F3FCF9
#E7F8F2
#C8F3E5
#9EF0D4
#6DE9BE
#42e2ab
#21D497
#1BB17D
#168D64
#14674A
#0C402E
Base = 500Lightest = 50 · #F3FCF9Darkest = 950 · #0C402E
:root {
  --brand-50: #F3FCF9;
  --brand-100: #E7F8F2;
  --brand-200: #C8F3E5;
  --brand-300: #9EF0D4;
  --brand-400: #6DE9BE;
  --brand-500: #42e2ab;
  --brand-600: #21D497;
  --brand-700: #1BB17D;
  --brand-800: #168D64;
  --brand-900: #14674A;
  --brand-950: #0C402E;
  --brand: #42e2ab;
  --brand-ink: #000000;
}

Colors that work with #42e2ab

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#F4FAF8
Tinted page background
Border#C0EDDD
Hairlines and dividers
Muted text#4B9B7F
Captions on the surface
Accent#E63EA2
Second voice, not a rival
Dark variant#116F4E
Hover, pressed, headers
Light variant#E9FCF5
Selected rows, tints
Dark surface#14241F
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 #42e2ab

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#E24279
Analogous left#42E25B
Analogous right#42C9E2
Split-complement 1#E242C9
Split-complement 2#E25B42
Triadic 1#AB42E2
Triadic 2#E2AB42
Tetradic#5B42E2

RGB percentages

Red25.9%
Green88.6%
Blue67.1%

CMYK percentages

Cyan70.8%
Magenta0.0%
Yellow24.3%
Key (black)11.4%

Color previews

#42e2ab text on a black background

contrast 12.70:1

Card sample

#42e2ab text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #42e2ab

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.

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

#42e2ab, answered

What color is #42e2ab?

#42e2ab is a balanced vivid green, closest to Medium Aqua Marine (ΔE2000 6.7). It sits at 159° on the hue wheel with 73% saturation and 57% lightness, which reads as cool.

What is the RGB value of #42e2ab?

rgb(66, 226, 171) — 66 red, 226 green and 171 blue out of 255, or 25.9% / 88.6% / 67.1% by channel.

Is #42e2ab a light or a dark color?

It is a light color. Relative luminance is 0.5849 and perceived brightness is 73%, so black text on it reaches 12.70:1.

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

Black. It scores 12.70:1 against #42e2ab, versus 1.65:1 for white — AAA at any size.

What is the complementary color of #42e2ab?

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

What colors go well with #42e2ab?

For interface work: #F4FAF8 as the surface, #C0EDDD for borders, #4B9B7F for secondary text, #E63EA2 as an accent and #116F4E for hover and pressed states. For a palette, the analogous pair #42E25B and #42C9E2 stays calm, while #E24279 is the loudest partner.

What is #42e2ab in CMYK for printing?

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

Is #42e2ab warm or cool?

Cool — it scores 79 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #42E271; nudged cooler, #40E0E4.

Work with #42e2ab in the Color Lab