Skip to content

#8afbc4

a light, electric green · cool · closest name: Aqua Marine

RGB
138, 251, 196
HSL
151°, 93%, 76%
CMYK
45, 0, 22, 2
Luminance
0.7838

At a glance

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

Hex
#8afbc4
Hue
151°
green
Saturation
93%
electric
Lightness
76%
light
Brightness
98%
HSV value
Perceived
85%
weighted brightness
Luminance
0.7838
WCAG relative
Temperature
Cool
75/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.68:1
Closest name
Aqua Marine
ΔE2000 3.7
Where it sits
Hue151° of 360°
Saturation93%
Lightness76%
Temperature
Warm ← → Cool75% 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#8afbc4
RGBrgb(138, 251, 196)
HSLhsl(151, 93%, 76%)
CMYKcmyk(45%, 0%, 22%, 2%)
LABlab(91.0 -44.5 16.5)
LCHlch(91.0 47.5 159.7)
OKLCHoklch(0.906 0.130 161.1)
Decimal9108420
Display P3color(display-p3 0.541 0.984 0.769)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8afbc4 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#8afbc4 on black: 16.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F8ECC1
deuteranopia · #E7E0C7
tritanopia · #6BFAEC

Color scale — 50 to 950

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

#F2FDF8
#E4FBF0
#C2F9DF
#8afbc4
#5CF9AD
#26F892
#08ED7D
#07C569
#059E54
#09723F
#054727
Base = 300Lightest = 50 · #F2FDF8Darkest = 950 · #054727
:root {
  --brand-50: #F2FDF8;
  --brand-100: #E4FBF0;
  --brand-200: #C2F9DF;
  --brand-300: #8afbc4;
  --brand-400: #5CF9AD;
  --brand-500: #26F892;
  --brand-600: #08ED7D;
  --brand-700: #07C569;
  --brand-800: #059E54;
  --brand-900: #09723F;
  --brand-950: #054727;
  --brand: #8afbc4;
  --brand-ink: #000000;
}

Colors that work with #8afbc4

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#F4FAF7
Tinted page background
Border#C0EDD7
Hairlines and dividers
Muted text#4B9B74
Captions on the surface
Accent#C90394
Second voice, not a rival
Dark variant#047B41
Hover, pressed, headers
Light variant#E6FEF3
Selected rows, tints
Dark surface#14241C
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 #8afbc4

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#FB8AC1
Analogous left#8AFB8C
Analogous right#8AFAFB
Split-complement 1#FB8AFA
Split-complement 2#FB8C8A
Triadic 1#C48AFB
Triadic 2#FBC48A
Tetradic#8C8AFB

RGB percentages

Red54.1%
Green98.4%
Blue76.9%

CMYK percentages

Cyan45.0%
Magenta0.0%
Yellow21.9%
Key (black)1.6%

Color previews

#8afbc4 text on a black background

contrast 16.68:1

Card sample

#8afbc4 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8afbc4

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.

#8afbc4 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.

#8afbc4, answered

What color is #8afbc4?

#8afbc4 is a light electric green, closest to Aqua Marine (ΔE2000 3.7). It sits at 151° on the hue wheel with 93% saturation and 76% lightness, which reads as cool.

What is the RGB value of #8afbc4?

rgb(138, 251, 196) — 138 red, 251 green and 196 blue out of 255, or 54.1% / 98.4% / 76.9% by channel.

Is #8afbc4 a light or a dark color?

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

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

Black. It scores 16.68:1 against #8afbc4, versus 1.26:1 for white — AAA at any size.

What is the complementary color of #8afbc4?

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

What colors go well with #8afbc4?

For interface work: #F4FAF7 as the surface, #C0EDD7 for borders, #4B9B74 for secondary text, #C90394 as an accent and #047B41 for hover and pressed states. For a palette, the analogous pair #8AFB8C and #8AFAFB stays calm, while #FB8AC1 is the loudest partner.

What is #8afbc4 in CMYK for printing?

cmyk(45%, 0%, 22%, 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 #8afbc4 warm or cool?

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

Work with #8afbc4 in the Color Lab