Skip to content

#9df7ab

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

RGB
157, 247, 171
HSL
129°, 85%, 79%
CMYK
36, 0, 31, 3
Luminance
0.7663

At a glance

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

Hex
#9df7ab
Hue
129°
green
Saturation
85%
electric
Lightness
79%
light
Brightness
97%
HSV value
Perceived
85%
weighted brightness
Luminance
0.7663
WCAG relative
Temperature
Cool
66/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.33:1
Closest name
Pale Green
ΔE2000 3.8
Where it sits
Hue129° of 360°
Saturation85%
Lightness79%
Temperature
Warm ← → Cool66% 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#9df7ab
RGBrgb(157, 247, 171)
HSLhsl(129, 85%, 79%)
CMYKcmyk(36%, 0%, 31%, 3%)
LABlab(90.2 -42.1 28.3)
LCHlch(90.2 50.7 146.1)
OKLCHoklch(0.900 0.135 148.2)
Decimal10352555
Display P3color(display-p3 0.616 0.969 0.671)

Copy-ready code

/* CSS */
color: #9df7ab;
background-color: #9df7ab;
/* Tailwind (arbitrary) */
class="text-[#9df7ab] bg-[#9df7ab]"
/* SCSS */
$brand: #9df7ab;
/* SwiftUI */
Color(red: 0.616, green: 0.969, blue: 0.671)
/* Android */
Color.parseColor("#9df7ab")
/* Flutter */
Color(0xFF9DF7AB)
/* Python / OpenCV (BGR) */
(171, 247, 157)

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

Accessibility — WCAG contrast

Aa
#9df7ab on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#9df7ab on black: 16.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F9E8A6
deuteranopia · #EBDFAF
tritanopia · #90F3E3

Color scale — 50 to 950

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

#F2FCF4
#E5FAE9
#C5F7CD
#9df7ab
#63F27A
#30EE4D
#12E233
#0FBD2A
#0C9722
#0D6D1C
#084412
Base = 300Lightest = 50 · #F2FCF4Darkest = 950 · #084412
:root {
  --brand-50: #F2FCF4;
  --brand-100: #E5FAE9;
  --brand-200: #C5F7CD;
  --brand-300: #9df7ab;
  --brand-400: #63F27A;
  --brand-500: #30EE4D;
  --brand-600: #12E233;
  --brand-700: #0FBD2A;
  --brand-800: #0C9722;
  --brand-900: #0D6D1C;
  --brand-950: #084412;
  --brand: #9df7ab;
  --brand-ink: #000000;
}

Colors that work with #9df7ab

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#F4FAF5
Tinted page background
Border#C0EDC7
Hairlines and dividers
Muted text#4B9B57
Captions on the surface
Accent#AF0CC0
Second voice, not a rival
Dark variant#0A761A
Hover, pressed, headers
Light variant#E7FDEB
Selected rows, tints
Dark surface#142416
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 #9df7ab

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#F79DE9
Analogous left#BCF79D
Analogous right#9DF7D8
Split-complement 1#D89DF7
Split-complement 2#F79DBC
Triadic 1#AB9DF7
Triadic 2#F7AB9D
Tetradic#9DBCF7

RGB percentages

Red61.6%
Green96.9%
Blue67.1%

CMYK percentages

Cyan36.4%
Magenta0.0%
Yellow30.8%
Key (black)3.1%

Color previews

#9df7ab text on a black background

contrast 16.33:1

Card sample

#9df7ab text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9df7ab;
Background color
Panel with #9df7ab background
background-color: #9df7ab;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 247, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 247, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9df7ab;
background: linear-gradient(135deg, #9df7ab, #9DF7E7);

Monochromatic scale

Palettes built from #9df7ab

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.

#9df7ab 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.

#9df7ab, answered

What color is #9df7ab?

#9df7ab is a light electric green, closest to Pale Green (ΔE2000 3.8). It sits at 129° on the hue wheel with 85% saturation and 79% lightness, which reads as cool.

What is the RGB value of #9df7ab?

rgb(157, 247, 171) — 157 red, 247 green and 171 blue out of 255, or 61.6% / 96.9% / 67.1% by channel.

Is #9df7ab a light or a dark color?

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

Should I use black or white text on #9df7ab?

Black. It scores 16.33:1 against #9df7ab, versus 1.29:1 for white — AAA at any size.

What is the complementary color of #9df7ab?

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

What colors go well with #9df7ab?

For interface work: #F4FAF5 as the surface, #C0EDC7 for borders, #4B9B57 for secondary text, #AF0CC0 as an accent and #0A761A for hover and pressed states. For a palette, the analogous pair #BCF79D and #9DF7D8 stays calm, while #F79DE9 is the loudest partner.

What is #9df7ab in CMYK for printing?

cmyk(36%, 0%, 31%, 3%). 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 #9df7ab warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B0F79D; nudged cooler, #9CF8CC.

Work with #9df7ab in the Color Lab