Skip to content

#9df98c

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

RGB
157, 249, 140
HSL
111°, 90%, 76%
CMYK
37, 0, 44, 2
Luminance
0.7681

At a glance

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

Hex
#9df98c
Hue
111°
green
Saturation
90%
electric
Lightness
76%
light
Brightness
98%
HSV value
Perceived
84%
weighted brightness
Luminance
0.7681
WCAG relative
Temperature
Cool
59/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.36:1
Closest name
Pale Green
ΔE2000 2.1
Where it sits
Hue111° of 360°
Saturation90%
Lightness76%
Temperature
Warm ← → Cool59% 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#9df98c
RGBrgb(157, 249, 140)
HSLhsl(111, 90%, 76%)
CMYKcmyk(37%, 0%, 44%, 2%)
LABlab(90.2 -47.6 43.8)
LCHlch(90.2 64.7 137.4)
OKLCHoklch(0.899 0.168 140.6)
Decimal10353036
Display P3color(display-p3 0.616 0.976 0.549)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9df98c on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#9df98c on black: 16.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FEE884
deuteranopia · #F1E093
tritanopia · #96F3DF

Color scale — 50 to 950

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

#F4FDF2
#E8FBE5
#CCF8C3
#9df98c
#77F75F
#49F42A
#2FE90C
#27C20A
#1F9B08
#1A700A
#104607
Base = 300Lightest = 50 · #F4FDF2Darkest = 950 · #104607
:root {
  --brand-50: #F4FDF2;
  --brand-100: #E8FBE5;
  --brand-200: #CCF8C3;
  --brand-300: #9df98c;
  --brand-400: #77F75F;
  --brand-500: #49F42A;
  --brand-600: #2FE90C;
  --brand-700: #27C20A;
  --brand-800: #1F9B08;
  --brand-900: #1A700A;
  --brand-950: #104607;
  --brand: #9df98c;
  --brand-ink: #000000;
}

Colors that work with #9df98c

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#C7EDC0
Hairlines and dividers
Muted text#579B4B
Captions on the surface
Accent#7807C5
Second voice, not a rival
Dark variant#187906
Hover, pressed, headers
Light variant#EAFEE7
Selected rows, tints
Dark surface#162414
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 #9df98c

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#E88CF9
Analogous left#D4F98C
Analogous right#8CF9B2
Split-complement 1#B28CF9
Split-complement 2#F98CD4
Triadic 1#8C9DF9
Triadic 2#F98C9D
Tetradic#8CD4F9

RGB percentages

Red61.6%
Green97.6%
Blue54.9%

CMYK percentages

Cyan36.9%
Magenta0.0%
Yellow43.8%
Key (black)2.4%

Color previews

#9df98c text on a black background

contrast 16.36:1

Card sample

#9df98c text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9df98c

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.

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

#9df98c, answered

What color is #9df98c?

#9df98c is a light electric green, closest to Pale Green (ΔE2000 2.1). It sits at 111° on the hue wheel with 90% saturation and 76% lightness, which reads as cool.

What is the RGB value of #9df98c?

rgb(157, 249, 140) — 157 red, 249 green and 140 blue out of 255, or 61.6% / 97.6% / 54.9% by channel.

Is #9df98c a light or a dark color?

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

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

Black. It scores 16.36:1 against #9df98c, versus 1.28:1 for white — AAA at any size.

What is the complementary color of #9df98c?

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

What colors go well with #9df98c?

For interface work: #F5FAF4 as the surface, #C7EDC0 for borders, #579B4B for secondary text, #7807C5 as an accent and #187906 for hover and pressed states. For a palette, the analogous pair #D4F98C and #8CF9B2 stays calm, while #E88CF9 is the loudest partner.

What is #9df98c in CMYK for printing?

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

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C5F98C; nudged cooler, #8BFAA2.

Work with #9df98c in the Color Lab