Skip to content

#9df897

a light, electric green · cool · “Pale Green”

RGB
157, 248, 151
HSL
116°, 87%, 78%
CMYK
37, 0, 39, 3
Luminance
0.7654

At a glance

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

Hex
#9df897
Hue
116°
green
Saturation
87%
electric
Lightness
78%
light
Brightness
97%
HSV value
Perceived
84%
weighted brightness
Luminance
0.7654
WCAG relative
Temperature
Cool
61/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.31:1
Closest name
Pale Green
ΔE2000 1
Where it sits
Hue116° of 360°
Saturation87%
Lightness78%
Temperature
Warm ← → Cool61% 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#9df897
RGBrgb(157, 248, 151)
HSLhsl(116, 87%, 78%)
CMYKcmyk(37%, 0%, 39%, 3%)
LABlab(90.1 -45.7 38.2)
LCHlch(90.1 59.6 140.1)
OKLCHoklch(0.899 0.156 142.8)
Decimal10352791
Display P3color(display-p3 0.616 0.973 0.592)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9df897 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#9df897 on black: 16.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FCE890
deuteranopia · #EFDF9D
tritanopia · #94F3E0

Color scale — 50 to 950

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

#F3FDF2
#E6FAE5
#C7F8C4
#9df897
#6AF461
#39F12D
#1DE50F
#18BF0D
#13990A
#126E0C
#0B4507
Base = 300Lightest = 50 · #F3FDF2Darkest = 950 · #0B4507
:root {
  --brand-50: #F3FDF2;
  --brand-100: #E6FAE5;
  --brand-200: #C7F8C4;
  --brand-300: #9df897;
  --brand-400: #6AF461;
  --brand-500: #39F12D;
  --brand-600: #1DE50F;
  --brand-700: #18BF0D;
  --brand-800: #13990A;
  --brand-900: #126E0C;
  --brand-950: #0B4507;
  --brand: #9df897;
  --brand-ink: #000000;
}

Colors that work with #9df897

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#F5FAF4
Tinted page background
Border#C3EDC0
Hairlines and dividers
Muted text#509B4B
Captions on the surface
Accent#8A09C3
Second voice, not a rival
Dark variant#0F7708
Hover, pressed, headers
Light variant#E8FDE7
Selected rows, tints
Dark surface#152414
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 #9df897

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#F297F8
Analogous left#CDF897
Analogous right#97F8C1
Split-complement 1#C197F8
Split-complement 2#F897CD
Triadic 1#979DF8
Triadic 2#F8979D
Tetradic#97CDF8

RGB percentages

Red61.6%
Green97.3%
Blue59.2%

CMYK percentages

Cyan36.7%
Magenta0.0%
Yellow39.1%
Key (black)2.7%

Color previews

#9df897 text on a black background

contrast 16.31:1

Card sample

#9df897 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 248, 151, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 248, 151, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9df897;
background: linear-gradient(135deg, #9df897, #97F8D2);

Monochromatic scale

Palettes built from #9df897

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.

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

#9df897, answered

What color is #9df897?

#9df897 is a light electric green — the CSS keyword Pale Green. It sits at 116° on the hue wheel with 87% saturation and 78% lightness, which reads as cool.

What is the RGB value of #9df897?

rgb(157, 248, 151) — 157 red, 248 green and 151 blue out of 255, or 61.6% / 97.3% / 59.2% by channel.

Is #9df897 a light or a dark color?

It is a light color. Relative luminance is 0.7654 and perceived brightness is 84%, so black text on it reaches 16.31:1.

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

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

What is the complementary color of #9df897?

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

What colors go well with #9df897?

For interface work: #F5FAF4 as the surface, #C3EDC0 for borders, #509B4B for secondary text, #8A09C3 as an accent and #0F7708 for hover and pressed states. For a palette, the analogous pair #CDF897 and #97F8C1 stays calm, while #F297F8 is the loudest partner.

What is #9df897 in CMYK for printing?

cmyk(37%, 0%, 39%, 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 #9df897 warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C0F897; nudged cooler, #96F9B4.

Work with #9df897 in the Color Lab