Skip to content

#9df2ab

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

RGB
157, 242, 171
HSL
130°, 77%, 78%
CMYK
35, 0, 29, 5
Luminance
0.7361

At a glance

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

Hex
#9df2ab
Hue
130°
green
Saturation
77%
electric
Lightness
78%
light
Brightness
95%
HSV value
Perceived
83%
weighted brightness
Luminance
0.7361
WCAG relative
Temperature
Cool
67/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.72:1
Closest name
Light Green
ΔE2000 4.3
Where it sits
Hue130° of 360°
Saturation77%
Lightness78%
Temperature
Warm ← → Cool67% 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#9df2ab
RGBrgb(157, 242, 171)
HSLhsl(130, 77%, 78%)
CMYKcmyk(35%, 0%, 29%, 5%)
LABlab(88.7 -39.9 26.4)
LCHlch(88.7 47.8 146.6)
OKLCHoklch(0.889 0.128 148.6)
Decimal10351275
Display P3color(display-p3 0.616 0.949 0.671)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9df2ab on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#9df2ab on black: 15.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F4E4A7
deuteranopia · #E7DBAF
tritanopia · #91EFDF

Color scale — 50 to 950

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

#F3FCF4
#E7F9EA
#C8F4CF
#9df2ab
#6AEB80
#39E555
#1DD83C
#18B432
#139028
#126820
#0B4114
Base = 300Lightest = 50 · #F3FCF4Darkest = 950 · #0B4114
:root {
  --brand-50: #F3FCF4;
  --brand-100: #E7F9EA;
  --brand-200: #C8F4CF;
  --brand-300: #9df2ab;
  --brand-400: #6AEB80;
  --brand-500: #39E555;
  --brand-600: #1DD83C;
  --brand-700: #18B432;
  --brand-800: #139028;
  --brand-900: #126820;
  --brand-950: #0B4114;
  --brand: #9df2ab;
  --brand-ink: #000000;
}

Colors that work with #9df2ab

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#4B9B58
Captions on the surface
Accent#AB14B8
Second voice, not a rival
Dark variant#0F711F
Hover, pressed, headers
Light variant#E8FCEC
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 #9df2ab

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#F29DE4
Analogous left#B9F29D
Analogous right#9DF2D5
Split-complement 1#D59DF2
Split-complement 2#F29DB9
Triadic 1#AB9DF2
Triadic 2#F2AB9D
Tetradic#9DB9F2

RGB percentages

Red61.6%
Green94.9%
Blue67.1%

CMYK percentages

Cyan35.1%
Magenta0.0%
Yellow29.3%
Key (black)5.1%

Color previews

#9df2ab text on a black background

contrast 15.72:1

Card sample

#9df2ab text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9df2ab

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.

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

#9df2ab, answered

What color is #9df2ab?

#9df2ab is a light electric green, closest to Light Green (ΔE2000 4.3). It sits at 130° on the hue wheel with 77% saturation and 78% lightness, which reads as cool.

What is the RGB value of #9df2ab?

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

Is #9df2ab a light or a dark color?

It is a light color. Relative luminance is 0.7361 and perceived brightness is 83%, so black text on it reaches 15.72:1.

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

Black. It scores 15.72:1 against #9df2ab, versus 1.34:1 for white — AAA at any size.

What is the complementary color of #9df2ab?

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

What colors go well with #9df2ab?

For interface work: #F4FAF5 as the surface, #C0EDC7 for borders, #4B9B58 for secondary text, #AB14B8 as an accent and #0F711F for hover and pressed states. For a palette, the analogous pair #B9F29D and #9DF2D5 stays calm, while #F29DE4 is the loudest partner.

What is #9df2ab in CMYK for printing?

cmyk(35%, 0%, 29%, 5%). 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 #9df2ab warm or cool?

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

Work with #9df2ab in the Color Lab