Skip to content

#8afeb2

a light, electric green · cool · closest name: Pale Green

RGB
138, 254, 178
HSL
141°, 98%, 77%
CMYK
46, 0, 30, 0
Luminance
0.7950

At a glance

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

Hex
#8afeb2
Hue
141°
green
Saturation
98%
electric
Lightness
77%
light
Brightness
100%
HSV value
Perceived
85%
weighted brightness
Luminance
0.7950
WCAG relative
Temperature
Cool
71/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.90:1
Closest name
Pale Green
ΔE2000 5.1
Where it sits
Hue141° of 360°
Saturation98%
Lightness77%
Temperature
Warm ← → Cool71% 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#8afeb2
RGBrgb(138, 254, 178)
HSLhsl(141, 98%, 77%)
CMYKcmyk(46%, 0%, 30%, 0%)
LABlab(91.5 -49.2 26.4)
LCHlch(91.5 55.8 151.8)
OKLCHoklch(0.909 0.150 153.6)
Decimal9109170
Display P3color(display-p3 0.541 0.996 0.698)

Copy-ready code

/* CSS */
color: #8afeb2;
background-color: #8afeb2;
/* Tailwind (arbitrary) */
class="text-[#8afeb2] bg-[#8afeb2]"
/* SCSS */
$brand: #8afeb2;
/* SwiftUI */
Color(red: 0.541, green: 0.996, blue: 0.698)
/* Android */
Color.parseColor("#8afeb2")
/* Flutter */
Color(0xFF8AFEB2)
/* Python / OpenCV (BGR) */
(178, 254, 138)

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

Accessibility — WCAG contrast

Aa
#8afeb2 on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#8afeb2 on black: 16.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FEEEAD
deuteranopia · #EDE2B7
tritanopia · #70FBEA

Color scale — 50 to 950

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

#F1FDF5
#E3FCEC
#C1FBD5
#8afeb2
#58FE91
#21FD6D
#02F355
#02CA47
#01A239
#06752C
#04491C
Base = 300Lightest = 50 · #F1FDF5Darkest = 950 · #04491C
:root {
  --brand-50: #F1FDF5;
  --brand-100: #E3FCEC;
  --brand-200: #C1FBD5;
  --brand-300: #8afeb2;
  --brand-400: #58FE91;
  --brand-500: #21FD6D;
  --brand-600: #02F355;
  --brand-700: #02CA47;
  --brand-800: #01A239;
  --brand-900: #06752C;
  --brand-950: #04491C;
  --brand: #8afeb2;
  --brand-ink: #000000;
}

Colors that work with #8afeb2

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#F4FAF6
Tinted page background
Border#C0EDCF
Hairlines and dividers
Muted text#4B9B66
Captions on the surface
Accent#CC00B9
Second voice, not a rival
Dark variant#017E2C
Hover, pressed, headers
Light variant#E6FFEE
Selected rows, tints
Dark surface#142419
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 #8afeb2

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
  • Card and section backgrounds
  • 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
  • White 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#FE8AD6
Analogous left#9CFE8A
Analogous right#8AFEEC
Split-complement 1#EC8AFE
Split-complement 2#FE8A9C
Triadic 1#B28AFE
Triadic 2#FEB28A
Tetradic#8A9CFE

RGB percentages

Red54.1%
Green99.6%
Blue69.8%

CMYK percentages

Cyan45.7%
Magenta0.0%
Yellow29.9%
Key (black)0.4%

Color previews

#8afeb2 text on a black background

contrast 16.90:1

Card sample

#8afeb2 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8afeb2;
Background color
Panel with #8afeb2 background
background-color: #8afeb2;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(138, 254, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 254, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8afeb2;
background: linear-gradient(135deg, #8afeb2, #8AFDFE);

Monochromatic scale

Palettes built from #8afeb2

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.

#8afeb2 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#8afeb2, answered

What color is #8afeb2?

#8afeb2 is a light electric green, closest to Pale Green (ΔE2000 5.1). It sits at 141° on the hue wheel with 98% saturation and 77% lightness, which reads as cool.

What is the RGB value of #8afeb2?

rgb(138, 254, 178) — 138 red, 254 green and 178 blue out of 255, or 54.1% / 99.6% / 69.8% by channel.

Is #8afeb2 a light or a dark color?

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

Should I use black or white text on #8afeb2?

Black. It scores 16.90:1 against #8afeb2, versus 1.24:1 for white — AAA at any size.

What is the complementary color of #8afeb2?

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

What colors go well with #8afeb2?

For interface work: #F4FAF6 as the surface, #C0EDCF for borders, #4B9B66 for secondary text, #CC00B9 as an accent and #017E2C for hover and pressed states. For a palette, the analogous pair #9CFE8A and #8AFEEC stays calm, while #FE8AD6 is the loudest partner.

What is #8afeb2 in CMYK for printing?

cmyk(46%, 0%, 30%, 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 #8afeb2 warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8DFE8A; nudged cooler, #89FFDD.

Work with #8afeb2 in the Color Lab