Skip to content

#42fffe

a balanced, electric cyan · cool · closest name: Cyan

RGB
66, 255, 254
HSL
180°, 100%, 63%
CMYK
74, 0, 0, 0
Luminance
0.7983

At a glance

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

Hex
#42fffe
Hue
180°
cyan
Saturation
100%
electric
Lightness
63%
balanced
Brightness
100%
HSV value
Perceived
85%
weighted brightness
Luminance
0.7983
WCAG relative
Temperature
Cool
87/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
16.97:1
Closest name
Cyan
ΔE2000 1.1
Where it sits
Hue180° of 360°
Saturation100%
Lightness63%
Temperature
Warm ← → Cool87% 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#42fffe
RGBrgb(66, 255, 254)
HSLhsl(180, 100%, 63%)
CMYKcmyk(74%, 0%, 0%, 0%)
LABlab(91.6 -44.9 -12.8)
LCHlch(91.6 46.7 195.9)
OKLCHoklch(0.911 0.144 194.4)
Decimal4390910
Display P3color(display-p3 0.259 1.000 0.996)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#42fffe on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#42fffe on black: 16.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EEF2FE
deuteranopia · #D3DFFF
tritanopia · #00FFFE

Color scale — 50 to 950

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

#F1FEFE
#E3FCFC
#C0FCFB
#8FFFFE
#42fffe
#1FFFFE
#00F5F4
#00CCCB
#00A3A2
#057675
#034949
Base = 400Lightest = 50 · #F1FEFEDarkest = 950 · #034949
:root {
  --brand-50: #F1FEFE;
  --brand-100: #E3FCFC;
  --brand-200: #C0FCFB;
  --brand-300: #8FFFFE;
  --brand-400: #42fffe;
  --brand-500: #1FFFFE;
  --brand-600: #00F5F4;
  --brand-700: #00CCCB;
  --brand-800: #00A3A2;
  --brand-900: #057675;
  --brand-950: #034949;
  --brand: #42fffe;
  --brand-ink: #000000;
}

Colors that work with #42fffe

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#F4FAFA
Tinted page background
Border#C0EDEC
Hairlines and dividers
Muted text#4B9B9B
Captions on the surface
Accent#FF4272
Second voice, not a rival
Dark variant#00807F
Hover, pressed, headers
Light variant#E5FFFF
Selected rows, tints
Dark surface#142424
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 #42fffe

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
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#FF4243
Analogous left#42FF9F
Analogous right#42A1FF
Split-complement 1#FF42A1
Split-complement 2#FF9F42
Triadic 1#FE42FF
Triadic 2#FFFE42
Tetradic#9F42FF

RGB percentages

Red25.9%
Green100.0%
Blue99.6%

CMYK percentages

Cyan74.1%
Magenta0.0%
Yellow0.4%
Key (black)0.0%

Color previews

#42fffe text on a black background

contrast 16.97:1

Card sample

#42fffe text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(66, 255, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(66, 255, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #42fffe;
background: linear-gradient(135deg, #42fffe, #4282FF);

Monochromatic scale

Palettes built from #42fffe

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.

#42fffe in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#42fffe, answered

What color is #42fffe?

#42fffe is a balanced electric cyan, closest to Cyan (ΔE2000 1.1). It sits at 180° on the hue wheel with 100% saturation and 63% lightness, which reads as cool.

What is the RGB value of #42fffe?

rgb(66, 255, 254) — 66 red, 255 green and 254 blue out of 255, or 25.9% / 100% / 99.6% by channel.

Is #42fffe a light or a dark color?

It is a light color. Relative luminance is 0.7983 and perceived brightness is 85%, so black text on it reaches 16.97:1.

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

Black. It scores 16.97:1 against #42fffe, versus 1.24:1 for white — AAA at any size.

What is the complementary color of #42fffe?

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

What colors go well with #42fffe?

For interface work: #F4FAFA as the surface, #C0EDEC for borders, #4B9B9B for secondary text, #FF4272 as an accent and #00807F for hover and pressed states. For a palette, the analogous pair #42FF9F and #42A1FF stays calm, while #FF4243 is the loudest partner.

What is #42fffe in CMYK for printing?

cmyk(74%, 0%, 0%, 0%). 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 #42fffe warm or cool?

Cool — it scores 87 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #42FFB9; nudged cooler, #42CDFF.

Work with #42fffe in the Color Lab